Gradient Map
Filters / Adjustments
Maps grayscale input to a color gradient defined by up to 8 color stops. Interpolates in Oklab perceptual color space.
Inputs
input
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
grayscaleGrayscale | enum | false | Output grayscale luminance instead of color.
| |
interpolationInterpolation | enum | linear | Interpolation curve between color stops.
| |
addressingAddressing | enum | clamp | How out-of-range input values are handled: clamped to 0-1 or wrapped.
| |
stop0_posPosition | float | 0 | -1 to 1 | Position in gradient. -1 = disabled. |
stop0_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop1_posPosition | float | 1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop1_colorColor | color | [1, 1, 1, 1] | Stop color. | |
stop2_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop2_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop3_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop3_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop4_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop4_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop5_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop5_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop6_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop6_colorColor | color | [0, 0, 0, 1] | Stop color. | |
stop7_posPosition | float | -1 | -1 to 1 | Position in gradient. -1 = disabled. |
stop7_colorColor | color | [0, 0, 0, 1] | Stop color. |
Outputs
output(default format:rgba16float)