Nodes/Comfyroll Studio/🌁 CR Color Panel
ComfyUI Node Runs on cloud

🌁 CR Color Panel

Make a solid-color canvas at any size

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
🌁 CR Color Panel
    • image
    • show_help
    β—„panel_width512β–Ί
    β—„panel_height512β–Ί
    β—„fill_colorβ–Ύβ–Ί
    β—„fill_color_hex#000000β–Ί

    The most boring node in the pack, and one of the more useful. It makes a solid rectangle of one color, at a size you choose, as a normal IMAGE. That's the entire pitch. A blank colored canvas is exactly what you need when you're building layouts, backdrops, spacers, or a base to composite other things onto.

    It's from Comfyroll Studio (Suzie1 / RockOfFire), sitting in the Graphics β†’ Layout group with the pack's other page-building blocks. No diffusion, no model - Pillow paints a filled rectangle and hands it back instantly.

    How it works

    There's nothing clever here, and that's the point. You set panel_width and panel_height, pick a fill_color, and out comes a flat panel. The fill color is chosen from a dropdown of 30 named presets; set it to custom and the node reads the fill_color_hex field instead, so you can match an exact color.

    Because the output is a standard image, it slots into anything - Comfyroll's own layout and text nodes, a stock overlay, an image-compositing node, or straight into a preview.

    The inputs that matter

    • panel_width / panel_height (default 512, from 8 up to 4096) - the panel size. Note the minimum is 8, so you can make genuinely tiny swatches or thin spacer strips.
    • fill_color - the color, from the 30-entry dropdown. Set it to custom to use a hex value.
    • fill_color_hex (optional, default #000000) - the exact color used when fill_color is custom.

    Output is an image (plus the show_help wiki link, which isn't something you wire).

    Where you'd actually reach for it

    This is glue for layout work. Building a multi-panel page or a comic strip? Color Panel gives you the borders, gutters, and background fills. Making a title card? Start with a solid panel, drop text on it, done. Need a colored spacer between two images in a grid? Here it is. It's also a dead-simple base layer for compositing - a known, flat background is far easier to key against than a generated one.

    You could argue a solid color is trivial enough to not need a node. True - right up until you're assembling a layout and want it to be a wire in the graph, reproducible and re-sizable, instead of a file you dragged in.

    How to install it

    • ComfyUI Manager: search Comfyroll Studio, install, restart.
    • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.

    No models to fetch - it draws with Pillow.

    Common issues

    The one thing that actually goes wrong is pack-level, not node-level. On newer ComfyUI builds Comfyroll's Graphics module can fail to import at startup - you'll see Comfyroll Studio: Failed to load Graphics nodes and then a stack of NameError: name 'CR_...' is not defined, after which no CR nodes appear. It's a real, reported failure. Find the first error in the console (that's the true cause; the rest is fallout) and update the pack through the Manager to pull the compatibility patches.

    The only per-node snag: if you set fill_color to custom and get a black panel, you left fill_color_hex on its #000000 default. Fill in the hex and it behaves.

    Category🧩 Comfyroll Studio/πŸ‘Ύ Graphics/🌁 Layout

    Inputs (4)

    NameTypeDefaultDescription
    panel_widthINT5128–4096β€”
    panel_heightINT5128–4096β€”
    fill_colorCOMBO30 options: custom, white, black, red, green, blue, +24
    fill_color_hexoptSTRING#000000β€”

    Outputs (2)

    NameTypeDescription
    imageIMAGEβ€”
    show_helpSTRINGβ€”