Multi-Color Blender: Mix by Weight in sRGB, Linear, Lab and OKLCH
Blends any number of colours with weights and shows the mix computed in five ways, with swatches.
Use the tool
Why this tool exists
Averaging colours gives different results depending on the space. sRGB values are gamma encoded, so averaging them gives dark mixes. Linear RGB averages light. Lab and OKLab average perceived lightness and colour opponents. OKLCH averages hue by chroma, which keeps vivid mixes.
Seeing all five side by side shows which one suits your gradient or blend. Lab uses a D65 white. Results are clipped to sRGB.
How to use it
- Enter one colour per line, with an optional weight after it.
- Run the tool.
- Compare the five results and swatches.
- Copy the HEX you prefer.
Frequently asked questions
Why do the results differ?
Each space averages a different quantity. None is wrong; they model different things.
Which should I use for gradients?
OKLab or OKLCH usually look smoothest. Linear RGB looks like mixing light.
What does weight mean?
Relative share. 1, 1, 2 gives the third colour half of the mix.
Is there a two-colour step version?
Yes, the Color Mixer.