Color Palette Visualizer
See your palette as a real interface instead of swatches.
Blend two colours and see every step between them.
The blended colour appears here
The Color Mixer blends two colours at any ratio and shows every step between them, with a choice of blending space — because mixing in sRGB sends colours through a muddy middle and mixing in OKLab does not.
Pick two colours, set how much of each you want, and get the blend — plus the complete ramp between them, so you can see every intermediate shade and take whichever one you actually wanted.
The blending space is the option that matters. Mixing in sRGB — averaging the hex values, which is what most tools do — sends colours through a muddy middle, because the numbers in a hex code are gamma-encoded and averaging them is not averaging light. Blue and yellow come out a dull grey-green rather than anything you would call a mix.
Mixing in OKLab fixes it. The colours are converted to a perceptual space first, so the middle stays as colourful as the ends, and the steps look evenly spaced rather than bunching up. Linear RGB is offered as well, which is what light itself does and what a renderer uses. All three are shown side by side, because the difference is easier to see than to describe.
OKLab for the best-looking mix, sRGB to match what other tools do, linear RGB for physically correct light.
Every intermediate step is shown, so you can take the one you actually wanted rather than re-mixing.
The equivalent declaration is emitted, and it matches because CSS also defaults to OKLab.
All three spaces are shown side by side, which is the only way to see why the default everywhere else looks wrong.
Every swatch in the ramp copies its own HEX code.
Type, paste or pick them. Any notation works.
Drag the slider for anything from all of the first colour to all of the second.
OKLab for the best-looking mix, sRGB to match what most tools do, linear for physically correct light.
Click any swatch in the ramp to copy it.
Because screens mix light, not pigment. Blue and yellow light are close to opposite, so they average toward neutral. The paint result you remember comes from pigments absorbing wavelengths, which is a different process entirely.
OKLab for anything a person will look at — gradients, scales, hover states. Linear RGB when you are matching a renderer or compositing light. sRGB only when you need to reproduce what another tool did.
Yes, and the tool emits the equivalent color-mix() declaration. CSS defaults to OKLab, which is why the browser result matches the OKLab option here rather than the sRGB one.
Mix two, then use the result as one side of the next mix. Mixing three at once has no single correct answer without weights, and the two-step version is clearer about what you did.
What people who use the Color Mixer think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Color Mixer. It takes half a minute and no account.
Write the first reviewSee your palette as a real interface instead of swatches.
Build a moving gradient background with the keyframes included.
Pick a colour from anywhere on your screen.
Convert colour temperature in kelvin to an RGB colour.
Build a duotone pair and get the CSS to apply it.
Turn an RGBA colour into an 8-digit HEX code, or flatten the alpha away.
Build conic gradients — pie charts, colour wheels and sweeps.
Convert LCH to HEX and RGB — LAB in polar form, as CSS uses it.