Overview
Builds a palette in the graph to define the colors for one asset. Click the swatch
grid in the inspector, then connect the result to the palette input of gradient_map
or palette_quantize. Its purpose is to centralize the color scheme.
Usage tips
- Set the color count with
count, then click swatches to edit them. A 3–5-color ramp is easy to work with for pixel-art shading. - Order has meaning:
gradient_mapinterprets it as dark → light. Put the darkest color near Color 1. - Individual colors can become input pins, allowing only an accent color to be driven
by
color_oklchor a variable for accent-only variants. - For project-wide shared colors, the Shared Palette panel (
Ctrl+Alt+P) pluscommon_palette_refis easier to manage. This node is for an asset-local scheme.
Common pitfalls
- Increasing the color count adds only white: new slots default to white. Remember to edit their swatches.
- gradient_map reverses light and dark: the palette runs light → dark. Reorder it
or use
inverton Gradient Map. - A tool-wide palette should be loaded:
palette_loadloads a file, whilepalette_extractextracts colors from an image.
Technical details
- Only colors from connected color ports are collected; unconnected ports are skipped.
- With no inputs, it outputs the default one-color white palette.
- Colors are ordered color_1 → color_2 → ... in the palette.
Examples
- Combine outputs from ColorRGB / ColorHSV / ColorOKLCH into a palette.
- Use palette → Palette Apply to quantize pixel art.
Related nodes
gradient_map/palette_quantize/dither— primary destinations for the palettepalette_load/palette_save— read or write palette files such as .gplpalette_extract— collect colors from an existing imageprocedural_palette— generate a color sequence from parameters