Color Mixer

Blend two colors and see every step in between. Choose how many steps, mix in RGB or HSL color space, click any step to copy its HEX, and copy a two-endpoint CSS gradient.

+
9
Midpoint mix (50/50)
#000000

Gradient CSS

How Color Mixing Works in the Browser

Mixing two colors means moving step by step from one to the other through a color space. At each step the tool interpolates between the start and end values; at 50% you get the midpoint in the selected color space — the "average" of the two colors. The displayed steps are rounded to 8-bit HEX. The copied CSS uses only the two endpoint colors: it does not export the displayed steps or preserve HSL interpolation. CSS interpolation can depend on the syntax and browser.

RGB vs HSL Mixing — Why the Result Differs

The color space you blend in changes the path between two colors:

Practical Uses for a Color Blend

Tips for Better Blends

If an RGB blend looks dull in the middle, switch to HSL for more vivid midpoints. Widely separated lightness values can help, but do not guarantee accessible steps. Check the actual pairings and avoid encoding meaning through color alone. And remember that more steps means smaller color differences — 5–9 steps is usually enough for a readable scale, while 12–15 suits smooth gradient sampling.

Frequently Asked Questions

The mixer interpolates between colors. The midpoint averages encoded channel values in RGB mode; HSL follows the shortest hue path and is not the same average. The copied CSS gradient uses the two endpoints and does not reproduce every sampled RGB/HSL step.
RGB interpolates encoded sRGB channels and may produce dull midpoints. HSL takes the shortest hue path; it does not guarantee vividness or perceptual uniformity. Try both — the tool switches instantly.
Click any band in the blended result and its HEX is copied to your clipboard. Use "Copy all HEX" to grab every step at once, or "Copy gradient" for ready-to-paste CSS.
Choose enough steps for the intended chart, scale or visual comparison. More samples provide finer increments but do not establish perceptual uniformity or accessible combinations.
Nothing is uploaded. The mixer runs entirely in your browser — your colors never leave your device.