Color Mixer
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
| Channel | Color A | Color B | Result |
|---|---|---|---|
| Red | 255 | 0 | 128 |
| Green | 0 | 0 | 0 |
| Blue | 0 | 255 | 128 |
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
0%#6CA1F8
25% white#9DC1FB
50% white
Toward black
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
#9D6D95#FF5733
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
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.
- Color Picker from ImageUpload an image, click a pixel, and read its HEX code.
- Screen EyedropperSample any pixel on your screen.
- RGB to HEX ConverterTurn three RGB numbers into one HEX code.
- HEX to RGB ConverterTurn a HEX code into three RGB numbers.
- HEX to HSL ConverterTurn a HEX code into hue, saturation, and lightness.
- HSL to HEX ConverterTurn HSL values back into a HEX code.
- HEX to HSV ConverterTurn a HEX code into hue, saturation, and value.
- HEX to CMYK ConverterTurn a HEX code into approximate print values.
- RGB to HSL ConverterTurn RGB numbers into hue, saturation, and lightness.
- HEX to OKLCH ConverterTurn a HEX code into the modern OKLCH format.
- Color ConverterSee one color in every format at once.
- HEX to RGBA ConverterTurn a HEX code into RGB with transparency.
- Color Name to HEXLook up any of the 148 CSS named colors.
- Color Palette GeneratorBuild a five-color palette from one color.
- Shades GeneratorBuild 10 tints and 10 shades from one color.
- Gradient GeneratorBuild a linear or radial gradient and copy the CSS.
- Contrast CheckerCheck any text and background pair for AA and AAA.
- Color MixerMix two colors and see the result.
- Random Color GeneratorPick a random color from all 16,777,216 HEX colors.
- Color Blindness SimulatorSee your colors as color-blind users see them.
- Color ChartThe 148 named colors with HEX, RGB, and HSL.
No tool matches your search.
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.
Purple #800080. Each channel is averaged: red (255 + 0) / 2 = 127.5, rounded to 128; green 0; blue (0 + 255) / 2 = 127.5, rounded to 128. That gives rgb(128, 0, 128), which is HEX #800080.
Each RGB channel is averaged separately, weighted by the ratio you set. Red mixes with red, green with green, and blue with blue. At 50/50 the result is the plain average of the two inputs; at 75/25 the first color counts three times as much as the second.
Yes — mix with white #FFFFFF to lighten it, or with black #000000 to darken it. A 25% mix softens the color gently, while a 50% mix changes it strongly. This is the fastest way to test a single tint or shade before building a full scale.
No — this tool mixes light on a screen, using RGB rules. Red light plus blue light makes purple #800080. Paint mixing is subtractive and gives different results, so a screen mix is a starting point for print, not a final printed color.
They jump the ratio slider to the three most useful splits. 50/50 sits exactly halfway between the two colors, 25/75 leans toward the second color, and 75/25 leans toward the first. Pick the closest one, then fine-tune with the slider.