FLUX2 Color Palette Preset π
FLUX2 Color Palette Preset
- color_palette
- palette_info
FLUX2_ColorPalettePreset is the lazy sibling of FLUX2_ColorPalette, and lazy is good here. Instead of typing hex codes, you pick one of ten named moods - "Pastel Spring," "Ocean Blues," "Neon Cyberpunk," "Monochrome Gray" - and it hands the corresponding four-color array to your FLUX.2 JSON prompt as the global color_palette. It's a one-input node that exists to get you a coherent palette in under five seconds, which makes it the fastest way to stop FLUX.2 from inventing its own chaotic color story.
Part of the ComfyUI-FLUX2-JSON pack (MushroomFleet's "FLUX2 Prompt Builder"). A small note while we're here: the README's roadmap teases color tools as a future "Phase 2," but the shipped code already includes this node and FLUX2_ColorPalette - docs are just behind. The code wins.
The whole interface
One required input, preset, a dropdown with ten options (default "Vibrant Primary"). The hex arrays are hardcoded in the pack source - here's the shape of a few so you know what you're getting:
- Vibrant Primary -
#FF0000 #00FF00 #0000FF #FFFF00(full-on primary RGB+CMYK-ish yellow) - Earth Tones - browns and tans:
#8B4513 #D2691E #CD853F #DEB887 - Ocean Blues - navy to sky:
#000080 #0000CD #4169E1 #87CEEB - Neon Cyberpunk -
#FF00FF #00FFFF #FF0080 #8000FF - Monochrome Gray -
#2F2F2F #5F5F5F #8F8F8F #CFCFCF
Outputs:
color_palette(typeFLUX2_COLOR_ARRAY) - into FLUX2_PromptAssembler'scolor_paletteinput; the only consumer in the pack.palette_info(STRING) - the palette's name plus the hex list, so you can pin it to a text node and see what you picked without digging through the JSON.
That's the entire node. There's no per-color override here - if you want to tweak one swatch, use FLUX2_ColorPalette instead (or just grab the hex out of palette_info and paste it there). Preset nodes are for "good enough, move on," and this one knows it.
Install
It's in the same pack as everything else here, so:
- ComfyUI Manager: search "FLUX2 Prompt Builder" β Install β restart.
- Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/MushroomFleet/ComfyUI-FLUX2-JSON.git
No model files, no dependencies beyond Python's stdlib - a dropdown feeding a list, that's the whole footprint. Under FLUX2_Prompt_Builder/Utilities in the node menu.
One thing worth internalizing: the preset only sets the global mood. If a specific object needs its own color (the red mug on the gray counter), set that in FLUX2_SubjectCreator's color_1βcolor_4 - per the README, subject colors override the global palette. Use this preset for the room, the subject colors for the star of the shot, and your JSON prompt stops being a free-for-all.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | Vibrant Primary | 10 options: Vibrant Primary, Pastel Spring, Earth Tones, Ocean Blues, Sunset Warm, Monochrome Gray, +4 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| color_palette | FLUX2_COLOR_ARRAY | β |
| palette_info | STRING | β |