Gradient Map
Maps luminance values to a color gradient, turning any grayscale range into a color palette.
Gradient Map replaces brightness values with colors from a gradient. Dark areas of the image map to the left side of the gradient, bright areas to the right. This is a powerful way to colorize grayscale images, create duotone effects, or apply stylized color schemes.
The source channel selector lets you map from Luminance, or from any individual R/G/B/Alpha channel. The same seven Interpolation modes (RGB, Linear sRGB, OKLab, OKLCh, HSV, Kubelka-Munk, Constant) and Hue Path control as the Gradient node decide how colors blend between stops, so you can design perceptually smooth ramps or pigment-mixing palettes without dropping extra stops.
The Alpha dropdown decides how the gradient’s alpha interacts with the source image: Preserve keeps the source alpha unchanged (the gradient’s alpha is ignored), Multiply (default for new nodes) multiplies source alpha by gradient alpha so transparent stops cut through, and Replace lets the gradient’s alpha overwrite the source entirely. Saved projects from earlier versions auto-migrate so existing graphs render the same as before.
Parameters
Section titled “Parameters”Pins
Gradient
Number of stops; additional s2..sN are injected dynamically
Stop 0 normalized position
Stop 0
Stop 1 normalized position
Stop 1
Color Mapping
Which channel drives the gradient lookup
How the gradient's alpha combines with the source alpha
Color space used to blend between gradient stops
Mask
How the mask is sized when it doesn't match the image. None: center at native size, no scaling. Stretch: scale to exactly match image dimensions. Fit: scale to fit inside image, preserving aspect ratio. Fill: scale to fill image, cropping overflow
Usage Tips
Section titled “Usage Tips”- Use a two-stop gradient (dark color → light color) for a classic duotone effect.
- Wire Noise output into Gradient Map to create colorized procedural textures.
- Set Alpha to Preserve to keep the source’s original transparency unchanged when colorizing; choose Multiply when you want transparent gradient stops to cut through the result.
- Pick OKLCh or OKLab interpolation for smoother midtones between contrasting colors, especially in duotone work.
- Connect a mask input to apply the color mapping to only part of the image.
- Each stop in the gradient editor has its own Pick Color button for sampling colors from anywhere on screen.