About the Color Mixer
Color Mixer blends two colors and shows the shades in between as a ladder of swatches. You choose how many steps to see and whether to mix in a paint-like way or with a plain linear RGB blend, then copy any HEX value you want to use.
How it works
Linear RGB mode interpolates each channel in a straight line: at ratio t, the result is A + (B - A) x t for red, green and blue separately. Steps are spaced evenly from t = 0 (Color A) to t = 1 (Color B), so with 5 steps you get 0%, 25%, 50%, 75% and 100%.
Paint-like mode uses a geometric (multiplicative) blend instead: each channel is A^(1 - t) x B^t on a 0-1 scale, with zero values treated as 1/255 to avoid a zero result. Because it multiplies rather than averages, the midpoint is darker and keeps more saturation. It's a lightweight approximation of subtractive mixing, not a physical model of real pigments.
How to use
- 1
Pick Color A and Color B with the two color swatches.
- 2
Choose Paint-like or Linear RGB.
- 3
Drag the Steps slider to show between 3 and 11 swatches.
- 4
Copy the HEX code of any step, Copy all, or use the Even 50/50 Mix box; Swap A ⇄ B reverses the order.
Worked examples
Blue and yellow, paint-like
Mixing the default blue and yellow in Paint-like mode with 5 steps.
Each channel is the geometric mean: red sqrt(59 x 250) ≈ 121, green sqrt(130 x 204) ≈ 163, blue sqrt(246 x 21) ≈ 72.
Same colors, linear RGB
Switching the same pair to Linear RGB.
Averaging the channels pulls the midpoint toward gray, which is the dull middle you'd see in a CSS gradient between these two colors.
Frequently asked questions
Does mixing colors here work the same as mixing paint?+
Not exactly. Linear RGB averages light values. Paint-like mode uses a multiplicative blend that behaves more like pigments, for example blue and yellow giving green, but it's still an approximation.
How do I find the color exactly halfway between two colors?+
Read the Even 50/50 Mix box, which always shows the exact halfway blend. With an odd number of steps, such as 5 or 11, the middle step matches it.
Which mode should I use for web design?+
Linear RGB matches how browsers blend colors in CSS gradients and transitions. Paint-like mode is useful when you want richer, darker in-between colors.
What do the percentages next to each step mean?+
They show how far along the blend from Color A to Color B the swatch is. 25% means a quarter of the way toward Color B.
Why is the paint-like mix darker?+
Multiplying channel values together always produces a result at or below their simple average, so mixes come out darker, much like combining pigments.