Toolstia / colour mixer

Colour mixer

Enter two colours and choose how much of the second to mix in. You get the blended colour as hex and RGB, and a row of evenly spaced shades from the first colour to the second.

#800080

rgb(128, 0, 128)

ColourSecond colourHex
0%#ff0000
25%#bf0040
50%#800080
75%#4000bf
100%#0000ff

The mix blends each of red, green and blue separately, the same way CSS and most design tools do. Mixing in this way can look slightly darker in the middle than mixing paint.

How it works

  1. Enter the first and second colour as hex or RGB.
  2. Set the amount of the second colour.
  3. Copy the mixed hex code or one of the steps.

How mixing works

Each of red, green and blue is blended in proportion. At 50 percent you get the average of the two colours, and at 0 or 100 percent you get one colour exactly.

Steps

The steps table spaces the shades evenly, which is useful for gradients, charts and shading a design from light to dark.

Accepted inputs

Hex codes with or without the hash, three-digit hex and RGB values such as 255, 0, 0.

A note on screens

Mixing light on a screen is not the same as mixing paint. Blue and yellow give grey here, not green.

Questions

Is it the same as a gradient?

A gradient is a smooth run between two colours. This tool gives you the colour at a chosen point and a set of steps along that run.

Does it handle opacity?

No, only solid colours.

Is my data stored?

Everything happens in your browser, and nothing you enter is sent anywhere.