Skip to content

Range

What It Does

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.

Inputs

NameDescriptionTypeRequired
colorAThe starting colorColorNo
colorBThe ending colorColorNo
spaceThe color space to interpolate inStringNo
hueHow to interpolate the hue (shorter, longer, etc.)StringNo
stepsNumber of colors to generate (including endpoints)NumberNo
progressionThe interpolation curve (linear, quadratic, cubic)StringNo

Outputs

NameDescriptionType
colorsArray of colors transitioning from colorA to colorBList

How to Use It

  1. Drag the Range node into your graph.
  2. Connect your starting color (like #3366FF) to the "colorA" input.
  3. Connect your ending color (like #FF6633) to the "colorB" input.
  4. Set the color "space" to interpolate in (like lab).
  5. Set "steps" to the number of colors you want (e.g., 5).
  6. Set the progression to define the interpolation (like linear).
  7. Run the graph—your output will be an array of colors that form a smooth transition.

Tips

  • 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.

See Also

Use Cases

  • 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.