Color Mixer

50% mix—
25% mix—
75% mix—

How Color Mixer is calculated: Mix at ratio t = (1 − t) × colour 1 + t × colour 2, channel by channel; 25%, 50%, and 75% steps plus the two colours make the five-step scale.

What is a color mixer?

A color mixer mixes two colours and shows the five-step scale between them — the two colours themselves, the midpoint, and the two quarter points. Enter two hex colours, and it gives you the answer at once.

People use it for far more than curiosity. Designers use it for colour schemes, because a scheme is rarely two colours — it is a scale, and the steps between the colours are where the scheme lives. Anyone who has ever needed a colour halfway between two others has needed a mixer.

The converter runs in your browser and never sends anything anywhere. There is no reason for a simple conversion to collect personal information. Type the value, read the answer, and close the page — nothing is stored.

The answer is immediate and exact — there is no rounding in a time conversion, and the same input always gives the same answer. That is the difference between a converter and a calculator: nothing is estimated, and nothing is close enough.

How colour mixing works

Mixing is an average. Each channel — red, green, and blue — is averaged separately, weighted by the mix ratio. The midpoint of #2563EB and #FF0000 is the average of 37 and 255 for red, 99 and 0 for green, and 235 and 0 for blue: (146, 50, 118), which is #923276. The quarter points are the same average with a different weight: the 25% step is three quarters of the first colour and one quarter of the second, and the 75% step is the other way round.

The 50% mix is the main figure: #923276 for the default. The 25% and 75% mixes are the quarter points, and the scale shows all five steps — the two colours and the three mixes — so you can see the whole journey.

The mixing is done in RGB, which is a simple average — and it is worth knowing that an average in RGB is not the same as an average in the eye. A midpoint in RGB can look darker or lighter than either end, because the eye does not see light linearly. The mixer shows the RGB average, which is the standard, and it says so plainly.

The whole conversion is a few lines of arithmetic, and it runs in your browser, which is why the answer appears as you type. There is no server, no lookup table, and no database — just the rules of the two systems, applied to your input.

Hex codes — the inputs people get wrong

The hex code is the most common error. A hex code is six digits — #2563EB — and a three-digit code like #25E is a shorthand for #2255EE, not a different colour. The mixer accepts both, and it reads the hash as optional, so 2563EB works as well as #2563EB.

The second input trap is the order. The first colour is the 0% end of the scale, and the second is the 100% end — so swapping them reverses the scale. The midpoint is the same either way, but the 25% and 75% steps swap, and a scheme built on the wrong order is backwards.

The third trap is the mix itself. A mix of two colours is a new colour, not a blend of the two names — a mix of blue and red is a purple, not a blue-red, and a mix of yellow and blue is a green, not a yellow-blue. The mixer gives the hex code, and the hex code is the colour.

The calculator checks the input as you type. A value that cannot be read — a missing marker, a minute above 59, a day that does not exist — is rejected with a message, instead of being guessed at. A converter that guesses is worse than one that says it does not know.

A worked example

First, the default on this page. #2563EB and #FF0000: the 25% mix is #5C4AB0, the 50% mix is #923276, and the 75% mix is #C9193B. The scale runs from the blue at 0%, through a blue-purple at 25%, a purple at 50%, a red-purple at 75%, to the red at 100%.

Second, black and white: #000000 and #FFFFFF. The 25% mix is #404040, the 50% mix is #808080, and the 75% mix is #BFBFBF. The scale is the greys — a quarter grey, a mid grey, and a three-quarter grey — which is the simplest scale there is.

Third, green and blue: #00FF00 and #0000FF. The 25% mix is #00BF40, the 50% mix is #008080, and the 75% mix is #0040BF. The midpoint is teal — a green-blue — and the scale runs from a green, through a teal, to a blue.

Every example above uses the same rules, and you can check each one by hand. The arithmetic is short enough to do on paper, which is the point — a converter you can verify is a converter you can trust.

Why it matters, and who uses it

Designers use it for colour schemes. A scheme is rarely two colours — it is a scale, and the steps between the colours are where the scheme lives. The mixer gives the five steps, and the designer picks the ones that work.

Developers use it for gradients and themes. A theme is often a scale from a brand colour to white or black, and the mixer gives the steps — which is how a button, a hover state, and a background are all built from one colour.

Then there is the plain usefulness of an exact answer. Knowing that the midpoint of #2563EB and #FF0000 is #923276 — and that the scale runs through #5C4AB0 and #C9193B — is a small piece of knowledge that turns two colours into a scheme, and it is exact, not an estimate.

The answer is also easy to check, which is the point of showing the working. Pick a value you know — midnight, noon, half an hour — and the figures should match what you remember. If they do, the converter is working.

Color Mixer vs color blender

These two tools answer different questions. A color blender mixes two colours at a ratio you choose — 30% of one and 70% of the other, or any ratio at all. This mixer shows the five-step scale between two colours — the two colours themselves, the midpoint, and the two quarter points — with no ratio to choose. The difference is what you get: one colour at a ratio you pick, or a whole scale. If the question is 'what is 30% blue and 70% red', the color blender is the tool; if the question is 'what is the scale between blue and red', this is the tool.

If the question is 'what is the scale between blue and red', use this converter. If the question is 'what is 30% blue and 70% red', use the color blender instead. Use this mixer for a scale and the color blender for a single ratio. If the question is what a colour looks like, a color picker shows it on screen.

Both are the same kind of tool — a value in, a value out, worked out in your browser. A color picker shows any colour on screen and gives its hex code, which is the tool to use when you want to see the colour rather than mix it. And a color palette generator builds a whole palette from one colour, which is the tool to use when you want a scheme rather than a scale.

The two tools share the same idea: a value in, a value out, worked out in your browser. The difference is only in what is being converted, and in which direction the answer points.

Common mistakes

The first mistake is the order. The first colour is the 0% end of the scale, and the second is the 100% end — so swapping them reverses the scale. The midpoint is the same either way, but the 25% and 75% steps swap.

Second: the hex code. A three-digit code like #25E is a shorthand for #2255EE, not a different colour, and a code without a hash is still a code. Third: the mix is an average in RGB, not in the eye — a midpoint can look darker or lighter than either end.

Fourth: the names. A mix of blue and red is a purple, not a blue-red, and a mix of yellow and blue is a green. The mixer gives the hex code, and the hex code is the colour — the name is a guess, and the code is the fact.

The mistakes above are the ones people actually make, and they are all small. A converter that shows its working lets you catch them before they matter, which is the whole reason for using one.

How to use this color mixer

Using it takes seconds. Enter two hex colours — the default is #2563EB and #FF0000. The results update live: the 50% mix, the 25% mix, and the 75% mix, with the five-step scale shown below. The results update live as you type.

The 50% mix is the main figure: #923276 for the default. The 25% and 75% mixes are the quarter points, and the scale shows all five steps — the two colours and the three mixes — so you can see the whole journey.

Everything runs in your browser, so nothing you enter leaves your device. One practical tip: build a theme from a scale, not from two colours. A button, a hover state, and a background are all steps on the same scale, and the mixer gives the steps.

Everything runs in your browser, so nothing you enter leaves your device, and the answer is the same every time you enter the same value. There is nothing to save, nothing to sign up for, and nothing to wait for.

Frequently Asked Questions

#923276. Each channel is averaged separately: (37 + 255) ÷ 2 = 146 for red, (99 + 0) ÷ 2 = 50 for green, and (235 + 0) ÷ 2 = 118 for blue. The 25% mix is #5C4AB0 and the 75% mix is #C9193B.

#808080, a mid grey. The 25% mix is #404040 and the 75% mix is #BFBFBF. The scale from black to white is the greys, in four equal steps.

By averaging each channel separately, weighted by the mix ratio. The 50% mix is the average of the two colours; the 25% mix is 25% of the first colour and 75% of the second. The mixing is done in RGB, which is the standard.

A color blender mixes two colours at a ratio you choose and gives one colour. A color mixer shows the five-step scale between two colours — the two colours, the midpoint, and the two quarter points — with no ratio to choose.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.