Range
Last updated
Last updated
Creates a sequence of colors that transition smoothly between two endpoint colors. Perfect for generating color palettes, gradients, or stepping between design tokens with customizable interpolation.
colorA
The starting color
Color
No
colorB
The ending color
Color
No
space
The color space to interpolate in
String
No
hue
How to interpolate the hue (shorter, longer, etc.)
String
No
steps
Number of colors to generate (including endpoints)
Number
No
progression
The interpolation curve (linear, quadratic, cubic)
String
No
colors
Array of colors transitioning from colorA to colorB
List
Drag the Range node into your graph.
Connect your starting color (like #3366FF
) to the "colorA" input.
Connect your ending color (like #FF6633
) to the "colorB" input.
Set the color "space" to interpolate in (like lab).
Set "steps" to the number of colors you want (e.g., 5).
Set the progression to define the interpolation (like linear).
Run the graph—your output will be an array of colors that form a smooth transition.
Different color spaces produce different transitions. "Lab" and "Oklch" usually give the most perceptually uniform results.
The "progression" parameter controls the easing of the transition—try different options for varied effects.
Color Palettes: Generate a consistent palette with evenly spaced colors for data visualization.
Gradient Creation: Build multi-stop gradient definitions for backgrounds or UI elements.
Token Scales: Create a complete set of design tokens from light to dark for a design system.
: For blending just two colors together.
: For creating variants of a single color.