Skip to main content

DigitalCalculators.net

Color Mixer

Last updated By the DigitalCalculators.net team Free, no sign-up

Mix two to four colors and see the result. Choose how to mix: average the screen values, mix light the physically correct way, or get a paint-like blend. Use parts to make one color stronger than the others.

Mixed color

ItemValue
Screen colors are made by adding light, while paint and ink work by absorbing it, so no simple formula gives the exact result of mixing real paints. The paint-like method is an estimate based on a geometric mean in linear light. Real paint depends on the pigments, the brand and the amount of white. Colors are sRGB, the standard for web and most screens.

Quick Answer

Pick two to four colors and set how many parts of each to use. Choose a mixing method, then press Mix colors. The swatch and the HEX, RGB and HSL codes show the result, along with what the other two methods would give.

Last updated: 18 November 2026 ·How we calculate this: how colors are mixed

How This Color Mixer Works

Mixing colors means combining two or more colors to get a new one. How you combine them matters: light on a screen adds together, while paint and ink take light away. This tool shows the result for both ideas, so you can see why blue and yellow make green in a paint box but not on a screen.

Pick two to four colors, give each a number of parts, and choose a method. You get the mixed color as a swatch, with its HEX, RGB and HSL codes ready to copy.

Features:

  • 2 to 4 colors: mix as many as you need.
  • Parts: use 3 parts of one color and 1 part of another for a weighted mix.
  • Three methods: simple RGB average, gamma-correct light mixing, and a paint-like estimate.
  • Compare: the table shows the result of the other two methods for the same colors.

How to Use the Color Mixer

  1. Choose how many colors to mix, from 2 to 4.
  2. Pick each color and set how many parts of it to use.
  3. Choose a mixing method: simple average, light mixing or paint-like.
  4. Press Mix colors.
  5. Copy the HEX, RGB or HSL code of the mixed color.

How Colors Are Mixed

  • Simple average: for each of red, green and blue, add the values times their parts and divide by the total parts. It is the quick method used by most color tools, though it comes out darker than real mixed light.
  • Light mixing (gamma-correct): screens store colors with a curve called gamma. This method first converts each value to linear light, with a value of 0 to 1 that adds up the way light really does, then averages and converts back. The sRGB curve is linear below 0.04045 and a 2.4 power above it.
  • Paint-like blend: paints absorb light, so each layer removes some of it. This tool estimates that by taking a weighted geometric mean of the linear values, which is a standard rough model of subtractive mixing. Zero values are lifted to 0.005 so one empty channel does not turn the whole mix black.
  • Parts: each color's share is its parts divided by the total parts.

Key Terms

  • HEX code: a six-digit code such as #800080 that names a color for the web.
  • RGB: the amounts of red, green and blue light, each from 0 to 255.
  • Gamma: the curve screens use to store brightness.
  • HSL: hue, saturation and lightness, another way to describe a color.

Worked Example

  • Mix pure red (255, 0, 0) and pure blue (0, 0, 255) in equal parts, using the simple average.
  • Red channel: (255 + 0) ÷ 2 = 127.5, which rounds to 128. Green stays 0. Blue: (0 + 255) ÷ 2 = 127.5, which rounds to 128.
  • Result: 128, 0, 128, which is HEX #800080, a deep purple.
  • With gamma-correct light mixing, the same two colors give a lighter purple, because the average is taken in linear light.

Real-Life Examples

  • Web design: mixing 1 part of a brand blue with 3 parts of white gives a light tint for backgrounds.
  • Painting: estimate what blue and yellow give before you open the paint, then check with real paint.
  • Teaching: compare light mixing and paint mixing to show why the two work differently.
  • Crafts and fashion: find a midpoint between two shades, such as a color halfway between two fabrics.

Additive vs Subtractive Mixing

  • Additive (light): screens add light. Red, green and blue together make white.
  • Subtractive (paint, ink): each pigment absorbs light, so mixing more pigments gives a darker color. Cyan, magenta and yellow printing inks work this way.
  • This tool: the light method models the first idea and the paint-like method estimates the second.

Mixing Examples

ColorsSimple averageWhat to expect
Red and blue#800080Purple
Red and green#808000Dark yellow or olive
Black and white#808080Mid gray
Blue and yellow#808080Gray, not green, with a simple average

Tips for Mixing Colors

  • Use screen methods for screens: if you design for the web or video, the light-mixing method is closest to how screens add colors.
  • Use the paint-like method as a guide: test with a small amount of real paint, because every pigment is different.
  • Add white last: to lighten a color, mix in a small number of parts of white.
  • Try parts: mixing 3 parts to 1 part is a quick way to nudge a color.
  • Copy the HEX code: paste it into your design tool, website or document.

Common Mistakes to Avoid

  • Expecting screen blue and yellow to make green. Light mixing gives gray. Only paint-like mixing gives a greenish result.
  • Trusting the paint estimate exactly. Real paint depends on the pigments you use.
  • Mixing too many colors. Each extra color pulls the result toward gray or brown.
  • Forgetting parts. Equal parts is not the only option. A 3 to 1 mix gives a very different color.
  • Using the result for print. Printers use CMYK, so printed colors can look different from the screen.

Frequently Asked Questions

Pick both colors, choose how many parts of each, and press Mix colors.

Yes, with no sign-up and no uploads.

In paint they make green. With the simple average or light mixing on a screen they make gray. The paint-like method gives a greenish mix.

Purple. With a simple average, equal parts give #800080.

How much of each color to use. Two colors with 1 part each are mixed equally.

Light mixing for screens, paint-like for a rough idea of paint, and the simple average for the usual web tool result.

Yes, up to four.

Not exactly. Paint depends on its pigments, so test a small amount first.

It averages in linear light, which is how light actually adds up, instead of the stored screen values.

A six-digit code for a color, such as #FF0000 for pure red.

Hue (the color on a wheel from 0 to 360), saturation (how vivid) and lightness (how light or dark).

It uses screen colors. Printed colors can differ because printers use CMYK inks.

Yes. Equal parts give a mid gray in the simple average method.

Yes. Copy the HEX code and paste it into your design tool or CSS.

References & Sources

SourceUsed ForLink
Wikipedia, Additive color How light adds together to make colors on screens. https://en.wikipedia.org/wiki/Additive_color
Wikipedia, Subtractive color How dyes and pigments absorb light, the model behind paint and ink. https://en.wikipedia.org/wiki/Subtractive_color
Wikipedia, sRGB The sRGB transfer function, linear below 0.04045 and a 2.4 power above it. https://en.wikipedia.org/wiki/SRGB

Cite or share this calculator

DigitalCalculators.net. (2026, November 18). Color Mixer. https://digitalcalculators.net/color-mixer/