Skip to content
hexcolorcodepicker.com

Color Mixer

Mix two colors

25/75 leans toward color B, 75/25 leans toward color A.

Mixed color

#800080

rgb(128, 0, 128)

Mix two colors with a ratio slider and see the result in HEX and RGB. Blend red and blue, test a 50/50 mix, and copy the mixed color in just one click.

What does the color mixer do?

The color mixer blends two colors into one new color, at a ratio you choose. Pick color A and color B, set the slider, and the tool shows the color in between. At 50/50 the result sits exactly halfway between the two; at 75/25 it leans toward the first color, and at 25/75 it leans toward the second.

Mixing is how designers find the color between two brand colors, soften a harsh color with white, or darken a bright color with black. Instead of guessing, the slider shows every step between the two colors, so you can stop at the exact shade you want.

Live blend strip — color A on the left, color B on the right

Mixed color at the slider position: #800080 (50% of color B)

How the mix is calculated

Each RGB channel is averaged separately, weighted by the ratio. Red mixes with red, green with green, and blue with blue — the three channels never cross. At 50/50 each channel of the result is the plain average of the two inputs, and at any other ratio the average is weighted toward the color with the larger share.

The worked example proves the rule: #FF0000 is rgb(255, 0, 0) and #0000FF is rgb(0, 0, 255). At 50/50 the red channel is (255 + 0) / 2 = 127.5, which rounds to 128, the green channel is (0 + 0) / 2 = 0, and the blue channel is (0 + 255) / 2 = 127.5, which rounds to 128. So the mix is rgb(128, 0, 128), which is #800080 — purple.

Channel math — check the arithmetic yourself

ChannelColor AColor BResult
Red2550128
Green000
Blue0255128

At 50/50: red (255 + 0) / 2 = 127.5 → 128, green 0, blue (0 + 255) / 2 = 127.5 → 128 — #800080, rgb(128, 0, 128).

Mixing with white and black

Mixing a color with white lightens it, and mixing it with black darkens it — that is how tints and shades are made. A 50/50 mix of #3B82F6 with white #FFFFFF gives a light blue tint, and a 50/50 mix of #3B82F6 with black #000000 gives a dark blue shade. The mixer is therefore a quick way to test one tint or shade without opening the full scale tool.

Try small steps first: 25% white softens a color gently, while 50% white washes it out. The same holds for black — 25% black adds depth, 50% black can turn a bright color muddy. The slider lets you feel the difference in real time.

White/black mix tester — #3B82F6 toward white and toward black

Toward white

#3B82F6
0%
#6CA1F8
25% white
#9DC1FB
50% white

Toward black

#3B82F6
0%
#2C62B9
25% black
#1E417B
50% black

Finding the color between two brand colors

A 50/50 mix of two brand colors gives a bridge color that matches both. If a site uses blue #3B82F6 and orange-red #FF5733, the color halfway between them can serve as a gradient midpoint, a hover state, or an accent that ties the two together. The bridge color shares channels with both parents, so it never clashes with either.

Use the quick-ratio buttons to test the common splits: 25/75, 50/50, and 75/25. One of the three usually looks right, and the slider then fine-tunes it by a few percent. Copy the HEX code once the swatch looks right and paste it into your stylesheet.

Bridge-color demo — blue and orange-red, with the 50/50 mix between them

#3B82F6Bridge
#9D6D95
#FF5733
A button wearing the bridge color #9D6D95

The bridge color shares channels with both parents, so it never clashes with either.

Screen mixing is not paint mixing

This tool mixes light on a screen, not paint in a pot, so the results follow RGB rules. On screen, red light plus blue light makes purple, and red plus green makes yellow — that is additive mixing. In paint, red plus blue makes a different purple and the pigments darken each other, which is subtractive mixing.

That difference matters when you mix by hand: a mix that looks right on screen can look different when printed or painted. For web design, use the screen result as-is; for print, treat it as a starting point and check a printed proof before you commit.

Light vs paint — overlapping red and blue light

redbluepurple

Red light + blue light = purple in the middle. Paint mixing follows different rules — and the tool's RGB result for red + blue at 50/50 is #800080.

All color tools

21 tools, one topic — see About Hex Color Code Picker for who built this site.

Frequently asked questions

Pick color A and color B, set the ratio slider, and copy the result. The defaults are red #FF0000 and blue #0000FF at 50/50, which mix to purple #800080. Move the slider toward either end to favor one color, then click Copy to take the mixed HEX code.