ComfyUI Node
Color Palette Generator
Generates a harmonious named color palette. Outputs individual color names, semantic role outputs, a preview image, and a comma-separated palette_string for Prompt Color Replace.
Color Palette Generator
- palette_string
- color_1
- color_2
- color_3
- color_4
- color_5
- color_6
- color_7
- color_8
- primary
- secondary
- accent
- neutral
- metallic
- palette_preview
- palette_info
◄seed0►
◄num_colors5►
◄harmony_type▾►
◄style_preset▾►
◄vibrancy0.50►
◄contrast0.50►
◄warmth0.50►
◄neutral_ratio0.4►
◄include_metallicstrue►
◄palette_source▾►
◄wildcard_file►
◄palette_index-1►
CategoryFVM Tools/Color
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–4294967295 | Random seed for deterministic palette generation. Same seed + same settings = same palette every time. |
| num_colors | INT | 52–8 | Number of colors to generate (2-8). 5 is recommended — maps to the semantic roles: primary, secondary, accent, neutral, metallic. Extra colors are available as color_6, color_7, color_8. |
| harmony_type | COMBO | Color harmony algorithm for hue selection. auto — picks a harmony type based on seed analogous — neighboring hues (calm, cohesive) complementary — opposite hues (bold contrast) split_complementary — one hue + two adjacent opposites triadic — three evenly spaced hues (vibrant) tetradic — four hues in two complementary pairs monochromatic — single hue, varied lightness/saturation | |
| style_preset | COMBO | Visual style that influences color selection. Each preset defines preferred hue ranges, saturation, and lightness profiles. E.g. 'pastel' favors light desaturated colors, 'gothic' favors dark reds/purples/blacks. | |
| vibrancy | FLOAT | 0.500–1 | Color saturation intensity. 0.0 = muted, desaturated (grays, pastels) 0.5 = balanced (default) 1.0 = vivid, highly saturated colors |
| contrast | FLOAT | 0.500–1 | Lightness spread between colors. 0.0 = all colors at similar brightness 0.5 = moderate light/dark variation (default) 1.0 = maximum spread (very light + very dark colors) |
| warmth | FLOAT | 0.500–1 | Color temperature bias. 0.0 = cool (blues, greens, purples) 0.5 = neutral (default) 1.0 = warm (reds, oranges, yellows) |
| neutral_ratio | FLOAT | 0.40–1 | Proportion of neutral/muted colors in the palette. 0.0 = all colors are chromatic (vibrant) 0.4 = ~40% neutrals like gray, beige, cream (default) 1.0 = mostly neutrals (subdued palette) |
| include_metallics | BOOLEAN | true | Include metallic colors (gold, silver, bronze, rose-gold, etc.). When enabled, one palette slot is reserved for a metallic color and output as the 'metallic' role. Useful for jewelry/accessories. |
| palette_sourceopt | COMBO | generate — create palette from seed + settings (default) from_file — pick a palette from the wildcard_file text below | |
| wildcard_fileopt | STRING | Manual palette list (one per line, comma-separated color names). Only used when palette_source = 'from_file'. Example: navy-blue, soft-pink, charcoal, gold, cream forest-green, burgundy, tan, silver, ivory Use palette_index to pick a specific line, or -1 for random by seed. | |
| palette_indexopt | INT | -1-1–9999 | Which line to pick from wildcard_file. -1 = random line based on seed (default) 0+ = specific line number (wraps around if too large) |
Outputs (16)
| Name | Type | Description |
|---|---|---|
| palette_string | STRING | — |
| color_1 | STRING | — |
| color_2 | STRING | — |
| color_3 | STRING | — |
| color_4 | STRING | — |
| color_5 | STRING | — |
| color_6 | STRING | — |
| color_7 | STRING | — |
| color_8 | STRING | — |
| primary | STRING | — |
| secondary | STRING | — |
| accent | STRING | — |
| neutral | STRING | — |
| metallic | STRING | — |
| palette_preview | IMAGE | — |
| palette_info | STRING | — |