# Color Mixer

> Blend two colors in any ratio with sRGB math matching CSS translucency. Get hex and rgba output plus a live gradient of every 10% step.

[bfotkit](/) Runs in your browserCategories ▾[All tools 307](/en/tools/)[Text tools9](/en/tools/text-tools/)[Image tools27](/en/tools/image-tools/)[PDF tools20](/en/tools/pdf-tools/)[Social media tools97](/en/tools/social-media-tools/)[Security tools8](/en/tools/security-tools/)[Coding tools25](/en/tools/coding-tools/)[CSS tools12](/en/tools/css-tools/)[Color tools6](/en/tools/color-tools/)[Miscellaneous tools103](/en/tools/miscellaneous-tools/)

[All tools ↗](/en/tools/)[EN](/en/tools/color-mixer/)[PT](/pt-br/ferramentas/misturador-de-cores/)[DE](/de/werkzeuge/farbmischer/)[ID](/id/alat/pencampur-warna/)[RU](/ru/instrumenty/smesitel-cvetov/)

COLOR TOOLS · BFOTKIT

# Color Mixer | BFOTKit

Mix two colors at a chosen ratio and get the blended result in hex and rgba, with a live gradient showing every step between them.

Mixing happens in sRGB, the space CSS actually renders in, so the result matches what a browser blend will look like.

ResultCopyClear

All color math runs locally in this browser tab. Nothing is sent to a server.

GUIDE

## How to mix colors

### Set the ratio like a recipe

The ratio is the share of color A; 50% is an even blend, 25% mostly B, 75% mostly A. The gradient preview paints every 10% step so you can pick an intermediate ratio by eye and read the exact value below.

### sRGB mixing is what CSS does

The mix happens channel by channel in sRGB — the same arithmetic a browser applies when compositing translucent layers. That makes the result predictable in real interfaces, though it can differ from pigment mixing or perceptual spaces like OKLab.

### Mix toward neutral for UI tints

To soften a brand color for hover states or backgrounds, mix it with white or the page background at 80–90% instead of picking a lighter color by hand — the relationships stay consistent across your palette.

HELP / FAQ

## Color mixer questions

### Is this the same as blending in Photoshop?

Photoshop blends in the document color profile and can use different algorithms per blend mode. This tool uses plain sRGB averaging, which matches CSS translucency behavior.

### Why does mixing blue and yellow give gray?

In sRGB, blue and yellow average to a desaturated mid-tone. Pigment mixing differs because it works with absorbed light. For vivid secondary colors, choose them from a wheel rather than averaging complements.

### Can I mix more than two colors?

Mix two at a time and chain the results: mix A+B, then mix that result with C. Chaining with explicit ratios is predictable, unlike a three-way average which hides its weighting.

### Does the result include alpha?

Yes — if either input has transparency below 1, the alpha is averaged with the same ratio and the rgba() output reflects it.

EXPLORE BY CATEGORY · BFOTKIT

## More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

[All tools 307](/en/tools/)[Text tools 9](/en/tools/text-tools/)[Image tools 27](/en/tools/image-tools/)[PDF tools 20](/en/tools/pdf-tools/)[Social media tools 97](/en/tools/social-media-tools/)[Security tools 8](/en/tools/security-tools/)[Coding tools 25](/en/tools/coding-tools/)[CSS tools 12](/en/tools/css-tools/)[Color tools 6](/en/tools/color-tools/)[Miscellaneous tools 103](/en/tools/miscellaneous-tools/)

[Color toolsAI Color Palette Generator↗](/en/tools/ai-color-palette-generator/)[Color toolsHEX to RGBA Converter↗](/en/tools/hex-to-rgba-converter/)[Color toolsRGBA to HEX Converter↗](/en/tools/rgba-to-hex-converter/)[Color toolsColor Shades Generator↗](/en/tools/color-shades-generator/)[Color toolsSeasonal Color Analysis↗](/en/tools/seasonal-color-analysis/)

[Browse all tools →](/en/tools/)

[bfotkit](/)[All tools](/en/tools/)[Privacy Policy](/en/privacy-policy/)[Terms & Conditions](/en/terms-and-conditions/)[About Us](/en/about-us/)[Contact Us](/en/contact-us/)

Useful tools. No fuss. © 2026 BFOTKit[bfotkit.com ↗](https://bfotkit.com/)
