Nodes/ComfyUI - NeoGriever/NGs Image - Create Solid Color
ComfyUI Node

NGs Image - Create Solid Color

A blank flat-color canvas node

By NeoGriever·Created 2 years ago·Updated 2 years ago· 2
NGs Image - Create Solid Color
    • Solid Color Image
    width512
    height512
    red255
    green255
    blue255
    alpha255
    modeRGB

    Sometimes you just need a flat-color image and nothing else - a background to composite something onto, a placeholder while you're still building out the rest of a graph, a quick canvas to test a crop or mask node against without loading a real photo. That's the entire job here: pick a size, pick a color, get an IMAGE.

    How it works

    It fills a width × height canvas with the RGB(A) values you set. No input image, no source - it's a generator, not a filter.

    The inputs and outputs that matter

    • width / height - pixel dimensions, up to 16384 each.
    • red, green, blue, alpha - 0–255 each, the color you're filling with.
    • mode - RGB or RGBA. RGB drops the alpha channel from the output entirely; RGBA keeps it, which matters if a downstream node (a compositor, for instance) cares about transparency.

    Output is "Solid Color Image" (IMAGE).

    It pairs naturally with NGs Fill with Color: this one when you're starting from nothing and need to specify size manually, that one when you already have an image and want a flat-color version at the same dimensions without re-typing numbers.

    In practice this is the node people reach for at the very start of a graph they're still designing - before the real image source is wired up, a solid-color placeholder lets you build and test everything downstream (crops, masks, composites) without waiting on a generation. It also shows up as a genuine building block: a green- or blue-screen-style flat backdrop for chroma-key-style compositing tests, or the base layer under a Multimask Write chain when you want to start that pack's mask-packing process from a known, predictable canvas instead of an arbitrary photo.

    How to install it

    ComfyUI Manager: search "NeoGriever," install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/NeoGriever/ComfyUI-NeoGriever
    

    then restart ComfyUI. Nothing else to it - no dependencies, no models.

    Common issues & troubleshooting

    Alpha field doesn't seem to do anything. That's expected when mode is set to RGB - the alpha channel is dropped from the output regardless of what you set the alpha slider to. The field isn't hidden or disabled when it's irrelevant, so it's easy to fiddle with it and wonder why nothing changes; switch to RGBA if you actually need transparency to carry through.

    Huge canvases eating memory for no reason. width/height go up to 16384 in each direction. Nothing stops you from generating something enormous by accident - keep the dimensions at your actual working resolution rather than the max just because it's available.

    That's genuinely the extent of it - this is a small, predictable node, and the two points above cover the only ways it tends to surprise people.

    CategoryImages

    Inputs (7)

    NameTypeDefaultDescription
    widthINT5121–16384
    heightINT5121–16384
    redINT2550–255
    greenINT2550–255
    blueINT2550–255
    alphaINT2550–255
    modeCOMBORGB2 options: RGB, RGBA

    Outputs (1)

    NameTypeDescription
    Solid Color ImageIMAGE