Gradient
Generates linear, radial, angular, or diamond gradients with multi-stop color control.
The Gradient node produces smooth color transitions in four shapes: linear, radial, angular, and diamond. Add as many color stops as you need and position them along the gradient. The presets dropdown ships 16 curated gradients organized into Basics, Spectrum, Colormaps, and Themes; each preview renders in the interpolation mode the node is currently using, so you see exactly how a preset will look before applying it.
Gradients are often used as inputs to other nodes. Wire one into a Mask Apply to create a gradient fade, or use it as a Gradient Map input to colorize grayscale images. The repeat and mirror modes let you tile gradients for pattern effects.
The Interpolation dropdown controls how colors blend between stops. RGB (default) blends channels directly. Linear sRGB blends in linear-light space, which keeps midpoints from looking dim. OKLab gives perceptually smooth blends without muddy midpoints. OKLCh preserves chroma through the midpoint, so a blue-to-yellow blend stays vivid in the middle. HSV sweeps the hue wheel for vivid color transitions. Kubelka-Munk mixes like real paint (cyan + yellow → green) instead of like light. Constant holds each stop’s color until the next stop for stepped gradients. HSV and OKLCh also expose a Hue Path setting (Shorter / Longer / Increasing / Decreasing) that decides which direction around the hue wheel the blend takes; Longer or Increasing is what makes a two-stop rainbow possible.
The Dither option (on by default) applies Floyd-Steinberg error diffusion to eliminate visible banding on subtle gradients, especially noticeable on smooth linear transitions between similar colors.
Parameters
Section titled “Parameters”Pins
Output
Output image width
Output image height
Shape
Gradient shape
Rotation offset for the angular gradient (degrees)
Horizontal center of the gradient (0 = left, 1 = right)
Vertical center of the gradient (0 = top, 1 = bottom)
Horizontal scale factor. Smaller = wider gradient, larger = tighter
Vertical scale factor. Smaller = taller gradient, larger = shorter
Normalized start X position
Normalized start Y position
Normalized end X position
Normalized end Y position
How the gradient extends beyond its bounds
Color
Add ordered dithering to reduce visible banding on subtle gradients
Color space used to blend between gradient stops
Number of color stops in the gradient. Additional stops s2..sN are injected dynamically
Stop 0 normalized position
Stop 0 color
Stop 1 normalized position
Stop 1 color
Usage Tips
Section titled “Usage Tips”- Wire a gradient into Composite as a blend mask for smooth transitions between two images.
- Angular gradients create color wheel effects, useful for hue reference images.
- Use OKLCh interpolation with Hue Path set to Longer to design rainbow gradients that stay vivid through the midpoint.
- Pick Kubelka-Munk when you want gradient transitions that mix like real paint pigments rather than light.
- Each stop in the gradient editor has its own Pick Color button, so you can sample a color from anywhere on screen (not just the canvas) straight into a stop.