100% free · Runs 100% in your browser · Live blend preview · No signup needed
Honest note: this mix is computed in RGB space — each channel is (1−t)×A + t×B, rounded to the nearest integer. A perceptually uniform mix (Lab) can look different, especially for saturated colours, so treat this as an RGB blend, not a perceptual midpoint.
What happens when you mix blue and yellow, or blend a brand colour with white to make a softer tint? Guessing wastes time and rarely lands on the exact shade you need. The Color Mixer takes two colours and a ratio, and shows you the precise mixed result instantly, in HEX, RGB, and HSL, with a gradient strip and a tint and shade ramp to explore the shades in between.
Designers, developers, and content creators all need colour mixes. You might need a hover colour that is slightly darker than a button, a background tint that is lighter than a brand colour, or a smooth gradient between two theme colours. This tool gives you exact values you can copy into your stylesheet, design file, or presentation, instead of eyeballing a colour picker.
Mixing two colours at ratio t means each RGB channel is calculated as (1-t) multiplied by A plus t multiplied by B, rounded to the nearest integer. Here, A is the first colour, B is the second colour, and t is the mix ratio between 0 and 1. At t equal to 0, you get colour A unchanged. At t equal to 1, you get colour B unchanged. At t equal to 0.5, you get a 50/50 mix, which is the midpoint of the two colours.
A worked example makes this concrete. Mix pure red, RGB 255, 0, 0, with pure blue, RGB 0, 0, 255, at 50 percent. The red channel becomes half of 255 plus half of 0, which is 128 after rounding. The green channel stays 0. The blue channel becomes half of 0 plus half of 255, which is 128. The result is RGB 128, 0, 128, a purple that sits exactly halfway between the two starting colours. The tool performs this calculation for all three channels at once and converts the result into HEX and HSL for you.
Pick your two colours with the colour pickers, or type hex values directly if you already know them. Drag the ratio slider from 0 to 100 percent to control how much of the second colour is mixed in. At 0 percent you see the first colour, at 100 percent you see the second colour, and every step in between shows a new blend. The live mixed swatch updates as you drag, so you can watch the colour change in real time.
Below the swatch, the gradient strip shows the full blend from the first colour to the second, so you can see the journey, not just one point on it. The output panel gives you the mixed colour in HEX, RGB, and HSL, each with a copy button. The five-step tint and shade ramp shows evenly spaced colours between your two choices, which is perfect for building a small palette from a pair of colours.
The ratio is the most important control in the tool, because a small change can shift a colour noticeably. A 10 percent mix adds just a hint of the second colour, which is useful for subtle tints and hover states. A 25 percent mix is clearly visible but still dominated by the first colour. A 50 percent mix is balanced and often the most useful starting point for a new shade. A 75 percent mix is dominated by the second colour, and a 90 percent mix is almost the second colour with a trace of the first.
Try dragging slowly through the range when you are choosing a tint. Colours that look similar at a glance can feel very different as backgrounds, especially on large areas. Test your mixed colour at the size it will actually be used, and check it against both light and dark text, because a shade that looks good as a small swatch can feel too strong as a full page background.
Here is an important honest label. This tool mixes colours in RGB space, which means it averages the red, green, and blue channels directly, exactly as described by the formula above. The result depends on colour space: mixing in RGB is not the same as mixing in HSL or Lab. A perceptually uniform mix in Lab space can look different, especially for saturated colours, because Lab is designed to match how human eyes perceive colour differences more evenly.
In practice, RGB mixing is the standard approach for web design and CSS work, and it is what most designers expect when they blend two hex colours. But if you mix two vivid, saturated colours and the midpoint looks muddy or unexpectedly dark, that is a known effect of RGB averaging, not a bug. Try shifting the ratio slightly, or try a different pair of starting colours, and compare the result with the gradient strip to find the shade that looks right to your eye.
Colour mixing has everyday uses beyond abstract design. A developer can create hover and active states by mixing a button colour with black or white. A blogger can create a softer background tint by mixing a brand colour with white at 10 or 20 percent. A presentation designer can build a matching palette by mixing two theme colours at several ratios. A social media creator can find intermediate shades for gradients that feel smooth rather than banded.
The tint and shade ramp is especially useful for design systems. Instead of picking five unrelated shades by hand, start with a dark colour and a light colour, and let the ramp generate the steps between them. Those steps will share the same hue family, so they look intentional together. Use the lightest steps for backgrounds, the middle steps for borders and secondary elements, and the darkest steps for text and emphasis.
HEX is the six-digit code used most often in CSS, such as #7A3FD1. RGB lists the red, green, and blue channel values from 0 to 255, which is useful when you need to adjust one channel by hand. HSL describes a colour by hue, saturation, and lightness, which is often easier to reason about: hue is the colour family, saturation is how vivid it is, and lightness is how light or dark it is. This tool gives you all three formats, so you can copy whichever one your project uses.
Accessibility is another reason to mix carefully. A colour that looks attractive as a small swatch may fail as text on a light background, or disappear entirely on a dark background. Always test your mixed colour in its real context: as a heading, as a button, and as a large background area. If the contrast is weak, shift the ratio toward the darker colour for text, or toward the lighter colour for backgrounds, until the combination is comfortable to read.
Small ratio changes can also rescue a blend that looks off. If a midpoint looks muddy, try 40 percent or 60 percent instead of exactly 50 percent, because the eye often prefers a blend that leans slightly toward one parent colour. Save the hex values you like as you go, so you can compare candidates side by side rather than relying on memory.
If you need to convert a single colour between formats rather than mix two colours, our color converter handles that. To build a full palette from one starting colour, try the color palette generator. To check whether your mixed colour is readable against a background, use the contrast checker, and to turn a blend into a CSS background, the CSS gradient generator is the natural next step.
Great design needs reliable hosting to shine online. FistHost shared hosting starts from just $0.99/month and includes a free domain with an annual plan, giving your portfolio, blog, or business site a fast home. Explore plans at FistHost and publish your colours with confidence.
Showcase your work on hosting built for creators: FistHost shared hosting from $0.99/month, a free domain with an annual plan, and easy setup for your next project. Visit FistHost to get started today.
No reviews yet. Be the first to review this tool!
Reviews are protected by captcha and moderated before they appear.