diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts b/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts index 3a3d5e508a..9d134099c3 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts @@ -106,10 +106,12 @@ export const getInfill = ( } if (infillMethod === 'color') { + const { a, ...rgb } = infillColorValue; + const color = { ...rgb, a: Math.round(a * 255) }; return g.addNode({ id: 'infill_rgba', type: 'infill_rgba', - color: infillColorValue, + color, }); }