N-Step Color Interpolator & Palette Morpher
Blend two HEX colors into a 3 to 20 step palette with linear or cubic-bezier easing in sRGB, linear light or OKLab. Copy HEX, CSS or JSON instantly.
Endpoints & steps
Blending
Pick Bézier to define a custom cubic-bezier curve. Endpoints always stay exactly on your two input colors.
Palette (7 colors)
#2563EB, #4E76D5, #7183BD, #938EA4, #B49586, #D49B60, #F59E0BTechnical Specification & Mathematical Principles
How the Color Step Interpolator Works
For N steps, each step i has progress t = i / (N - 1). The mixed channel is start + (end - start) x f(t), where f is the easing function. Linear easing sets f(t) = t. A cubic-bezier easing solves the Bézier curve x(s) = t for s, then returns y(s), the same algorithm CSS uses for transition timing functions.
The space matters. Interpolating gamma-encoded sRGB is simple but can darken the midpoint of saturated pairs. Linear-light mixes physical light intensity, and OKLab mixes perceptual lightness, a, b, which usually produces the smoothest perceived ramp. Endpoints are always exactly your two input colors.
Frequently Asked Questions
Which color space should I pick?
What does Bézier easing do to the steps?
Why are my colors identical in a couple of steps?
Related Design & Color Instruments
Digital Color Mixer
Blend multiple colors with weighted percentage ratios using quadratic RGB matrix interpolation.
Tints & Shades Calculator
Calculate 10 pure white tints and 10 pure black shades for any hex color code with one-click copy.
CSS Gradient Maker
Design linear and radial CSS gradients with 360-degree angle control, multi-stop adjustments, and instant code export.
Procedural Palette Generator
Generate balanced 5-color palettes based on geometric angles on the HSL color wheel with lockable color slots.