Skip to content

Gradient

Node icon
Generator

Generates linear, radial, angular, or diamond gradients with multi-stop color control.

A multi-stop gradient generated by the Gradient node.
A smooth multi-color gradient fill produced by the Gradient node.

Gradient draws smooth color transitions in four shapes (linear, radial, angular, and diamond) with up to eight color stops. The presets dropdown holds 16 curated gradients in Basics, Spectrum, Colormaps, and Themes, each previewed in the current interpolation mode so you see exactly how it will look. Between any two stops a midpoint moves where their colors meet, and Smoothness rounds the blend at each stop. Repeat and Mirror tile the gradient for patterns.

On Linear, Radial, and Diamond, the Preview draws a small swatch of each stop’s color on the gradient line while the node is selected. Drag a swatch along the line to move that stop, or click it to select the stop in the Parameters panel. Linear’s two end handles are swatches of the gradient’s color at each end. A stop sitting exactly on an end is part of that end’s handle, which drags the end, so move such a stop from the panel. Between the swatches, smaller diamonds are the gradient’s midpoints: drag one along the line between its two stops, or double-click it to put it back at 50%. Where a swatch and a diamond overlap, the swatch takes the click. Angular has no line, so its midpoints are set on the bar. Double-click a handle to reset it (a stop you added has no default, so it does not reset). See Canvas handles.

Gradients often feed other nodes: wire one into Mask Apply for a fade, or into Gradient Map to colorize a grayscale image. A new Gradient starts at the Default Width and Default Height set in Settings > Defaults.

Dither (on by default) applies Floyd-Steinberg error diffusion to hide banding on subtle transitions between similar colors. A 32-bit (Float) document has no quantization to hide, so no dither is added there.

The bar in the panel is the gradient. Click the bar to add a stop (up to eight), drag a stop to move it, and set the selected stop’s color with its swatch or its eyedropper. Presets fills the bar with a ready-made gradient.

The bar is drawn with the same blend the node uses, in the document’s precision and working color space, so it always matches the Preview: a Linear sRGB gradient in a 32-bit document looks the same on the bar as on the canvas.

The same editor appears on Gradient Map, Palette From Gradient, Scatter’s Colors, and UV Grid, and everything below about midpoints, Smoothness, and Interpolation applies to all of them.

The gradient bar with three stops, a filled midpoint diamond pulled toward the black stop with its readout Midpoint 30%, and a hollow diamond at 50% between the other two stops

Take a black-to-white gradient. Halfway along, the color is a 50% gray. The small diamond under the bar between the two stops marks that spot, the midpoint. Drag it left to 30% and the gray arrives early: the black holds only close to its stop and the white spreads across most of the bar. Drag it right and the black spreads instead. The colors at the stops never change, only where the two meet half and half.

Every pair of neighboring stops has its own midpoint, from 5% to 95% of the way between them.

  • The diamond is hollow at 50% and filled once moved. Hover it to read its value, such as “Midpoint 34%”.
  • With four stops or fewer every midpoint shows. With more, only the two beside the selected stop show, so select a stop to reach the midpoints around it.
  • Hold Ctrl (Cmd on macOS) while dragging to move it at a tenth of the speed.
  • Double-click a midpoint to reset it to 50%.
  • Ctrl-click (Cmd-click) a midpoint to type its value as a percentage. With the bar focused, Shift+Enter types the midpoint after the selected stop (for the last stop, the one before it).
  • Where a stop’s handle and a midpoint overlap, a click takes the stop; reach that midpoint with Shift+Enter, or on the line in the Preview.
  • Clicking a midpoint never adds a stop.
  • Under Constant there is no blend to shape, so no midpoint shows. The midpoints are kept and come back in any other mode.

Each midpoint belongs to the stop on its left and moves with it when you drag that stop past a neighbor. A new stop gives both of its gaps a midpoint at 50%. Reverse mirrors the midpoints with the stops, so the picture flips exactly, and a preset sets every midpoint back to 50%. Each drag is one undo step.

Smoothness: round the corners at the stops

Section titled “Smoothness: round the corners at the stops”
The Interpolation row set to RGB with the Smoothness row under it at 100%

A straight blend runs at an even pace from each stop to the next and changes pace at every stop. On a three-stop ramp, say dark blue to orange to pale yellow, that change shows as a crease where the ramp passes the orange: a faint ridge or line across a smooth slope, or a ring around each stop color when the gradient colors a height.

Smoothness, directly under Interpolation, rounds those corners. At 0% (the default) the blend is straight. At 100% it is a smooth curve that passes through every stop color and never overshoots it: each channel stays between its values at the two stops on either side. Values between mix the two.

The same three-stop ramp from dark blue through orange to pale yellow, with a visible crease at the orange stop at Smoothness 0% and a smooth curve at 100%
  • A two-stop gradient at 100% eases in and out: it leaves the first color slowly, speeds up through the middle, and settles slowly into the second.
  • The curve still bends toward a moved midpoint. Only at 0% does the midpoint mark exactly where two colors meet half and half.
  • The channels curve separately, so a color between two stops can sit a little off the straight blend between them.
  • Under Kubelka-Munk the paint mix already eases into every stop, and under Constant there is no blend, so the row is grayed in both; its tooltip says why. The value is kept for the other modes.
  • A preset sets Smoothness back to 0%.

Interpolation picks how the colors blend between stops.

  • RGB (the default) blends the stored sRGB values, the screen values of the colors you picked. This is the blend most drawing and design apps make, and it looks the same in an 8-bit and a 32-bit document.
  • Linear sRGB blends in linear light, the way two lights mix. The middle of a dark-to-bright blend comes out brighter than in RGB.
  • OKLab gives even steps in how light the colors look, with no muddy middle between two strong colors.
  • OKLCh is like OKLab but travels around the hue wheel, so the colors between the stops keep their strength.
  • HSV goes around the hue wheel in screen values.
  • Kubelka-Munk mixes like paint pigments: blue and yellow make green.
  • Constant holds each stop’s color up to the next stop, with a hard step between them.

Under OKLCh and HSV, Hue Path picks the way around the wheel: Shorter (the default), Longer (a vivid two-stop rainbow), or Increasing and Decreasing, which always turn the same way.

In a 32-bit document a stop brighter than white keeps its brightness under RGB, Linear sRGB, and Constant on Gradient, Gradient Map, and Scatter’s Colors; the other modes clip it to white. Palette From Gradient and UV Grid clip every stop to white.

A 32-bit document saved before ArcBrush 1.7.4 blended RGB gradients in linear light, so when it opens, those gradients show Linear sRGB and look exactly as they did; choose RGB for the blend of the stored values. See Gradients look the same in both precisions.

Wire a picture into the optional Background input and the gradient is drawn straight over it, at the picture’s size and depth, with no Composite node. Nothing changes while the input is empty.

  • Output Mode, Blend, and Opacity join the Output section, under Color Mode, while a background is wired. Output Mode is Composite, or Gradient Only for the gradient alone at the picture’s size. Gradient starts at Overlay and half opacity, so the picture and the gradient both show.
  • Size. The background sets the size, so Width and Height (and a wired Size Reference) are grayed.
  • Mask. An optional Mask input says where the gradient appears; Mask From and Mask Fit show while one is wired. With no background, the mask fades the gradient itself.
  • Transparent areas stay transparent. Gradient never paints where the picture is empty, so a cutout or the gutter of a padded trim stays clear. Opacity 0 returns the picture unchanged.
  • Depth and channels follow the picture. A 32-bit picture stays 32-bit, and a grayscale picture stays grayscale. A batch of pictures or trims keeps each frame’s name, color, and place on the sheet.
  • On a texture set, a Map row heads the Output section: pick Base Color, Roughness, Metallic, Ambient Occlusion, Height, or Emissive, and the gradient draws into that map only while every other map and the Opacity pass through. The Normal and the Opacity are not offered. See Drawing into one map.

Pins

BackgroundPixels or Texture
InputOptional
MaskMask
InputOptional
Size RefSize Reference
InputOptional
ImagePixels or Texture
Output

Output

Width (px)Integer
Default: 512 Range: 16–16384

Output width in pixels. Overridden when size_ref is connected

Height (px)Integer
Default: 512 Range: 16–16384

Output height in pixels. Overridden when size_ref is connected

Color ModeChoice
Default: RGBA

A grayscale output may be re-promoted to color by a downstream color node

  • RGBAOutput a full-color RGBA image. The default.
  • GrayscaleOutput a single-channel image directly, so you can build a mask, height field, or single-channel chain without adding a conversion node. The color pickers become gray sliders.
MapChoice
Default: Base Color
Texture set or library wired

Which map of the texture set this node edits. Every other map passes through unchanged. Shown while a texture set or a library is wired

  • Base ColorDraw into the set's Base Color. The default.
  • NormalListed but grayed: the Normal is a direction, not a tone.
  • RoughnessDraw into the set's Roughness only, such as grunge in the roughness.
  • MetallicDraw into the set's Metallic only.
  • Ambient OcclusionDraw into the set's Ambient Occlusion only.
  • HeightDraw into the set's Height only.
  • OpacityListed but grayed: the Opacity is the set's cutout, which Mask Apply edits.
  • EmissiveDraw into the set's Emissive only.
Output ModeChoice
Default: Composite
Background connected
  • Gradient OnlyOutput the gradient alone, at the background's size.
  • CompositeDraw the gradient over the background with Blend Mode and Opacity (Overlay at 0.50 to start). The default.
Blend ModeChoice
Default: Overlay Range: Normal / Multiply / Screen / Overlay / Linear Dodge (Add) / Subtract / Difference / Hard Light / Soft Light / Darken / Lighten / Color Dodge / Color Burn / Exclusion / Hue / Saturation / Color / Luminosity
Composite, Background connected

How the gradient blends over the background

OpacityNumber
Default: 0.50 Range: 0.00–1.00
Composite, Background connected

How strongly the gradient shows over the background. 0 returns the background unchanged

Shape

TypeChoice
Default: Linear

Gradient shape

  • LinearA straight-line blend from start point to end point.
  • RadialA circular blend radiating outward from a center point.
  • AngularA sweep around a center point, like a color wheel.
  • DiamondA diamond-shaped blend radiating from a center point.
AngleNumber
Default: 0.0 Range: 0.0–360.0
Angular only

Rotation offset for the angular gradient (degrees)

Center XNumber
Default: 0.50 Range: 0.00–1.00
Radial / Angular / Diamond

Horizontal center of the gradient (0 = left, 1 = right)

Center YNumber
Default: 0.50 Range: 0.00–1.00
Radial / Angular / Diamond

Vertical center of the gradient (0 = top, 1 = bottom)

ScaleNumber
Default: 1.00 Range: 0.10–10.00
Radial / Angular / Diamond

Horizontal scale factor. Smaller = wider gradient, larger = tighter

Scale YNumber
Default: 1.00 Range: 0.10–10.00
Radial / Diamond

Vertical scale factor. Smaller = taller gradient, larger = shorter

Start XNumber
Default: 0.00 Range: -1.00–2.00
Linear only

Normalized start X position (0 = left, 1 = right)

Start YNumber
Default: 0.50 Range: -1.00–2.00
Linear only

Normalized start Y position (0 = top, 1 = bottom)

End XNumber
Default: 1.00 Range: -1.00–2.00
Linear only

Normalized end X position (0 = left, 1 = right)

End YNumber
Default: 0.50 Range: -1.00–2.00
Linear only

Normalized end Y position (0 = top, 1 = bottom)

RepeatChoice
Default: None

How the gradient extends beyond its bounds

  • NoneColors clamp at the edges, with no repetition.
  • RepeatThe gradient tiles end-to-end, creating a repeating pattern.
  • MirrorThe gradient reverses direction at each edge, creating a ping-pong effect.

Color

DitherToggle
Default: true

Add error-diffusion dithering to reduce visible banding on subtle gradients

InterpolationChoice
Default: RGB

Color space used to blend between gradient stops

  • RGBDefault. Blends the stored sRGB values, the blend most drawing apps make, and looks the same in 8-bit and 32-bit documents.
  • Linear sRGBBlends in linear light, the way two lights mix, so the middle of a dark-to-bright blend is brighter than in RGB.
  • OKLabPerceptually smooth blends without the muddy midpoints you can get from blending two contrasting colors in RGB.
  • OKLChLike OKLab but preserves chroma through the midpoint, so a blue-to-yellow blend stays vivid in the middle instead of fading to gray-green.
  • HSVSweeps through the hue wheel for vivid color transitions.
  • Kubelka-MunkPigment-mixing model where cyan and yellow blend toward green the way real paint behaves rather than mixing as light.
  • ConstantHolds each stop's color until the next stop, for stepped gradients with no blending.
SmoothnessNumber
Default: 0.00 Range: 0.00–1.00

Rounds the corners at the stops. 0% is the straight blend; 100% is a smooth curve through every stop color that never overshoots them

Hue PathChoice
Default: Shorter Range: Shorter / Longer / Increasing / Decreasing
Interpolation = OKLCh or HSV

Direction taken around the hue wheel between stops.

  • Shorter: pick the shorter arc (default).
  • Longer: pick the longer arc; useful for two-stop rainbows.
  • Increasing: hue value monotonically increases.
  • Decreasing: hue value monotonically decreases.
Stop CountInteger
Default: 2 Range: 2–8

Number of color stops in the gradient. Additional stops s2..sN are injected dynamically

Stop 0 PositionNumber
Default: 0.00 Range: 0.00–1.00

Stop 0 normalized position

Stop 0Color (RGBA)
Default: rgba(0, 0, 0, 255)

Stop 0 color

Stop 1 PositionNumber
Default: 1.00 Range: 0.00–1.00

Stop 1 normalized position

Stop 1Color (RGBA)
Default: rgba(255, 255, 255, 255)

Stop 1 color

Mask

Mask FromChoice
Default: Luminance
Color image connected to the mask input

How the connected color image is read as a mask

  • LuminanceRead the image's brightness as the mask. The default.
  • AlphaRead the image's transparency as the mask.
  • RedUse the red channel as the mask.
  • GreenUse the green channel as the mask.
  • BlueUse the blue channel as the mask.
Mask FitChoice
Default: None (native size)
Mask connected

How the mask is sized when it doesn't match the image

  • None (native size)Center the mask at its native size, with no resizing. Unmasked regions are unaffected.
  • StretchStretch the mask to exactly match the image dimensions. May distort the mask shape.
  • Fit (letterbox)Scale the mask to fit inside the image, preserving aspect ratio. Letterboxes where needed.
  • Fill (crop)Scale the mask to fill the image, preserving aspect ratio. Crops edges if aspect ratios differ.
  • Wire a gradient into Composite’s mask input for a smooth transition between two images.
  • Angular gradients make color wheels for hue reference images.
  • Each stop in the gradient editor has its own Pick Color button, which samples a color from anywhere on screen (not just the canvas). Stops also edit from the keyboard.
  • Set Color Mode to Grayscale for a single-channel gradient: each stop becomes a gray level and the editor preview switches to grayscale. Useful for height fields, displacement sources, and soft masks. In a 32-bit project each stop’s level is full precision, and a grayscale gradient looks the same as at 8-bit in every interpolation mode; see Gray levels keep full precision.