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