Color Mixer
Mix two or more colours and see what they make. Choose how many parts of each, mix them like paint or like light, and copy the result as a hex code or CSS.
How to mix colors online
Choose two colours with the pickers, or type their hex codes. The mixer shows the colour they make, with its hex, RGB and HSL values and the nearest named colour. Use + and − to set how many parts of each colour go in: two parts blue to one part yellow gives a bluer green than one to one. Add a colour lets you mix up to six.
Paint, blend or light: three ways to mix
Paint mixes colours the way pigments do. Paint absorbs light, so every colour you add takes more away and the mix gets darker. That is why blue and yellow make green, and red and blue make a deep purple. The mixer works this out from how much light each colour reflects across the spectrum, so treat the result as a close guide: real paints vary with the pigment and the brand.
Blend is the even, in-between colour that design tools and browsers make. It is the same result as CSS color-mix(in oklab, …), so it is the one to use for hover states, tints and themes. Light mixes colours like overlapping coloured lights: red and green make yellow.
What colors make green, orange, purple, pink and brown?
In Paint mode: blue and yellow make green. Red and yellow make orange. Red and blue make purple. Red and white make pink. Black and white make grey. Red and green make brown. Change the parts to move the result toward one colour or the other.
Steps between two colors
With two colours, the mixer also shows 5, 7, 9 or 11 even steps from one to the other. Click a step to copy its hex code, or copy them all as CSS variables, Tailwind colours or a gradient. For a full scale of one colour, see color shades.
Mixing colors in CSS with color-mix()
The CSS color-mix() tab writes the mix as a color-mix() function that the browser works out itself, with each colour’s share as a percentage. It works in all current browsers. Browsers cannot mix like paint, so in Paint mode the code gives the closest browser blend and notes the paint result next to it.
Next, build a palette around your mix in the Color Palette Generator, turn it into a theme with the Dark Mode Palette Generator, change its format in the Color Converter, or browse colour names A–Z.
