This tool blends two hex colours at any ratio and shows the result two ways: a gamma-correct blend that mixes in linear light for clean, accurate mid-tones, and a simple sRGB average for comparison with older tools. It is handy for finding a midpoint colour, building gradients, or tinting a brand colour.
How it works
The tool parses each hex colour into RGB channels, then produces two mixes at your chosen ratio t (0-100%):
- sRGB average mixes the raw channel values directly:
channel = a × (1 − t) + b × t. Fast, but mid-tones can look muddy because sRGB is gamma-encoded. - Gamma-correct first converts each channel to linear light (reversing the sRGB gamma curve), mixes in that space, then converts back to sRGB. This matches how light actually blends and keeps mid-tones bright.
Both results are shown as hex swatches you can click to copy.
Example
Mixing #ff0000 (red) and #0000ff (blue) at 50%:
- sRGB average → about #800080, a dark muddy purple.
- Gamma-correct → a noticeably brighter, cleaner purple, because the linear-light mix preserves luminance.
The difference is most visible exactly at the 50% midpoint of two saturated colours. Pick two colours, drag the ratio slider, and click a swatch to copy its hex.
Everything runs in your browser — nothing is uploaded.