Gradient Map

Filters / Adjustments

Maps grayscale input to a color gradient defined by up to 8 color stops. Interpolates in Oklab perceptual color space.

Select a node to adjust its parameters. Double-click a node to inspect.

Inputs

  • input

Parameters

ParameterTypeDefaultRangeDescription
grayscale
Grayscale
enumfalseOutput grayscale luminance instead of color.
  • false : Output the full color gradient.
  • true : Output grayscale luminance instead of color.
interpolation
Interpolation
enumlinearInterpolation curve between color stops.
  • linear : Interpolate color stops with straight linear ramps.
  • smooth : Interpolate color stops with smoother eased ramps.
addressing
Addressing
enumclampHow out-of-range input values are handled: clamped to 0-1 or wrapped.
  • clamp : Clamp out-of-range coordinates or values to the edge.
  • repeat : Wrap out-of-range coordinates or values back into the 0-1 range.
stop0_pos
Position
float0-1 to 1Position in gradient. -1 = disabled.
stop0_color
Color
color[0, 0, 0, 1]Stop color.
stop1_pos
Position
float1-1 to 1Position in gradient. -1 = disabled.
stop1_color
Color
color[1, 1, 1, 1]Stop color.
stop2_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop2_color
Color
color[0, 0, 0, 1]Stop color.
stop3_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop3_color
Color
color[0, 0, 0, 1]Stop color.
stop4_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop4_color
Color
color[0, 0, 0, 1]Stop color.
stop5_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop5_color
Color
color[0, 0, 0, 1]Stop color.
stop6_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop6_color
Color
color[0, 0, 0, 1]Stop color.
stop7_pos
Position
float-1-1 to 1Position in gradient. -1 = disabled.
stop7_color
Color
color[0, 0, 0, 1]Stop color.

Outputs

  • output (default format: rgba16float)