Apply Color Palette

Quantize Color icon {width="200px"}

In: Filters > Adjustments

Description

Applies the colors in an ordered palette to an image, using an ID map.

Colors are distributed by matching the indexes in the ID map to the indexes of colors in the palette.

For instance, color #2 in the palette will be applied to all pixels in the ID map with an ID value of 2.

This node may be used in combination with the following nodes: Quantize Color, Create Color Palette, Modify Color Palette, View Color Palette.

Output connectors

Input connectors

ID Grayscale PRIMARY
The input ID map used to distribute the colors in the input palette.   An ID map is an image where pixels which are part of a whole (E.g., a shape) all hold the same unique identification value. In this case, the value is an integer.   An ID map can be produced using a Quantize Color node.
Palette Color
An ordered list of RGB colors encoded as a row of pixels. The palette can hold a maximum of 256 colors. This is the palette that the node maps to the indexes of the ID map.   Palettes may be produced with a Quantize Color node and modified with a Modify Color Palette node.

Output connectors

Output Color
The result of mapping the colors in the palette to the indexes of the ID map.

Examples

Apply color palette: Example 1 {modal="regular"}

apply_color_palette_example_1_before
Before
apply_color_palette_example_1_after
After

Apply color palette: Example 3 {modal="regular"}

apply_color_palette_example_3_before
Before
apply_color_palette_example_3_after
After
recommendation-more-help
substance-3d-designer-help-guide