What is it for?
- When you want to make small adjustments to a palette extracted by
Image To IndexedImagewhile watching the preview - When you want to recolor all pixels sharing the same color index
- When you want to fine-tune only selected colors while preserving the order of the source palette
- When you want to register the adjusted palette as a project common palette or tool common palette
Overview
Visually edits a palette in a dedicated editor. Only edited indices are overridden; untouched colors continue to follow upstream changes. It is an interactive tool for fine-tuning a few colors in an extracted palette.
Usage tips
- The go-to flow is: palette from
image_to_indexed_imageโ Palette Edit (fix only the colors that need it) โindexed_image_apply_palette. You can recolor while watching the preview. - Its useful property is that unedited colors follow the input. Even when the upstream extraction changes, only colors you edited remain fixed.
- Use
palette_setfor mechanical replacement by index, orpalette_adjust_oklchfor whole-palette color adjustment. Edit is for tuning individual colors by eye.
Related nodes
palette_setโ node-based replacement by indexpalette_adjust_oklch/palette_adjust_hsvโ adjust the whole paletteimage_to_indexed_image/indexed_image_apply_paletteโ standard upstream and downstream nodescommon_palette_refโ use the edited result as a common paletteEditor:
PaletteEditEditor
How it works
- The input palette is the base.
- Colors that you have not edited follow the upstream input palette.
- Only edited colors are stored in
edit_dataand override the colors at those indices. - If the upstream palette order changes, overrides are still applied to the same indices.
How to use
- Connect the
paletteoutput ofImage To IndexedImagetoPalette Edit. - Press the edit button on
Palette Edit. - Select a color chip and adjust it with the color picker.
- Connect the
paletteoutput ofPalette Editto the replacement palette input ofIndexedImage Apply Palette. - Adjust only the necessary colors while watching the preview.
Writing back to common palettes
Use Write Back to Common Palette in the editor to register the current edited
result as a common palette.
| Action | Description |
|---|---|
Add New |
Adds the current edited palette as a new common palette |
Overwrite Selected |
Overwrites the selected existing common palette with the current edited palette |
Choose Project Common or Tool Common as the destination.
Project Commonis saved in the current.pplproject file.Tool Commonis saved in user settings and is available in other projects.- Choose
SwatchesorIndexed Colorsas the kind.
This write-back never runs automatically during node evaluation. It changes a common palette only when the user presses the button.
Notes
- This node edits the palette colors themselves. It does not change pixel indices in the image.
Reset This Colorremoves only the override at that index.Reset Allreturns the output to the input palette as-is.- Overwriting an existing common palette also changes the results of any
Common Palette Refor indexed-color references that use it after reevaluation.