Palette From Gradient
Generates a palette by sampling evenly-spaced colors from an embedded gradient. Edit colors via the gradient editor; slot names persist across swatch count changes.
Palette From Gradient produces a palette whose colors are sampled from a gradient editor built into the node. The gradient is the source of truth for swatch colors: to change a swatch’s color you edit the corresponding gradient stop. The Swatch Count slider (2 to 32) sets how many evenly-spaced samples the palette contains, and the first and last swatches always equal the gradient endpoints.
The gradient editor is the same one used by the Gradient and Gradient Map nodes, so all seven interpolation modes (RGB, Linear sRGB, OKLab, OKLCh, HSV, Kubelka-Munk, Constant) and the Hue Path control work the same way. This makes it easy to design perceptually smooth color ramps or pigment-mixing palettes without dropping individual swatches by hand.
Each swatch shows a read-only color preview alongside an editable name. Names you type are preserved across Swatch Count changes: reducing the count and then increasing it again restores the names rather than replacing them with defaults. Right-click a name to reset it to the default (“Slot 1”, “Slot 2”, and so on). The output plugs into Palette Remap and Export Batch the same as a regular Palette node.
Parameters
Section titled “Parameters”Pins
Palette
Display name for this palette
Number of evenly-spaced swatches sampled from the gradient
Per-swatch name overrides (object keyed by swatch index)
Gradient
Number of gradient stops (s2..sN are injected dynamically)
Stop 0 position
Stop 0
Stop 1 position
Stop 1
Color space used to blend between gradient stops
Direction taken around the hue wheel
Usage Tips
Section titled “Usage Tips”- Use OKLCh interpolation with Hue Path = Longer to design rainbow palettes that stay vivid through the midpoint.
- Pick Kubelka-Munk when you want palette transitions that mix like real paint pigments rather than light.
- Set Constant interpolation to step between gradient stops without blending - useful for hard-edged retro palettes.
- Edit slot names with descriptive labels; they’re used as filenames when wired into Export Batch.
- Use the Export Palette button to save the sampled colors as
.gpl,.ase, or.palfor reuse in GIMP, Krita, Aseprite, and other tools.