Color Blender
Pick two colors and a blend ratio to see the midpoint color in RGB or HSL space. HSL blending follows the shorter path around the hue wheel, so red-to-blue passes through magenta, not green.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
0% is all the first color, 100% is all the second.
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What it produces
This tool takes a first colour from the input and a second colour from the options, and mixes them by a 0-100 percent ratio to show the midpoint colour plus the actual RGB values it computed. The ratio is the fraction of the second colour: 0% is all the first colour, 100% is all the second, and 50% is a true halfway blend. The result is shown as a hex value that you can copy.
RGB versus HSL blending
In RGB space each channel is interpolated linearly, which is predictable but can look muddy for vivid colours — mixing pure red and pure blue gives a dark purple. In HSL space the hue walks the shorter way around the colour wheel, so red to blue passes through magenta and the midpoint is far brighter. Choose HSL when you want a colour that feels midway between two hues rather than a weighted average of channels.
What you can type
Either side of the blend accepts a hex colour such as #3b82f6, an rgba() or hsla() functional notation, or any of the 148 CSS named colours. The parser reads the first colour from the input text and the second from the second option, so you can paste one and type or pick the other. A bad value is reported with a hint listing the accepted forms.
Limits and round-off
Blending always returns an opaque RGB result, so alpha information in the inputs is ignored. The output is rounded to whole bytes, which is fine for screen colours but not for a precise colour-management pipeline. HSL blending picks the shorter hue arc, so the apparent direction of a blend can surprise you when two hues are far apart on the wheel.
Nothing leaves your device
Both colours are parsed and blended locally in this tab. There is no upload and no network request, so you can blend colours for confidential brand work without it ever reaching a server.
Questions
Why does RGB blending look dark in the middle?
RGB blends each channel linearly, which can produce muddy midpoints. HSL blending moves around the hue wheel instead and often looks more natural for vivid colors.
What does a 0% or 100% ratio do?
0% returns the first colour unchanged and 100% returns the second colour unchanged, so those two values are a quick way to confirm which side of the blend each colour is on.
Can I blend two colours I typed as names?
Yes. The parser accepts the 148 CSS named colours on both sides, so input: "tomato" with second: "teal" works exactly like hex codes.
Related tools
See categoryColor Palette Generator
Generate tints, shades, complementary, triadic and analogous color palettes.
CSS Gradient Generator
Build linear, radial and conic CSS gradients with custom colour stops.
Colour Converter
Convert a colour between HEX, RGB, HSL, HSV, CMYK and OKLCH.
Color Blindness Simulator
Simulate protanopia, deuteranopia, tritanopia and achromatopsia on your colors.