Color Converter
HEX ↔ RGB ↔ HSL ↔ OKLCH with picker & history.
Blend two colours at any ratio in linear sRGB.
Mixing happens in linearised sRGB (linear light), not a naïve gamma-space channel average — closer to how light actually blends.
sRGB channel values are gamma-encoded; averaging them directly makes mid-tones darker and muddier than real light mixes. Converting to linear light, interpolating, then encoding back yields a more natural mid-grey (around #bcbcbc for 50% black+white).
0% is entirely colour A; 100% is entirely colour B. The slider is the percentage of B.
RGB channels are mixed in linear light; alpha is linearly interpolated between 0 and 1. Output includes HEX (8-digit when needed), RGBA, HSLA, and OKLCH.
No. Mixing and format conversion run entirely in your browser; nothing is sent to toco.tools's servers.