Work out colour mixing instantly with clear inputs, formula shown and shareable results.
Each colour is taken as an RGB triple and the mix is the parts-weighted average of the two triples, channel by channel. A weighted average makes the effect of ratio concrete: two parts red to one part yellow lands clearly nearer red than an even split would.
Weighted channel mix
channel = (A x partsA + B x partsB) / (partsA + partsB), for each of red, green and blue
Share
share of first colour = partsA / (partsA + partsB) x 100
channel = (A x partsA + B x partsB) / (partsA + partsB), for each of red, green and blue. Each colour is taken as an RGB triple and the mix is the parts-weighted average of the two triples, channel by channel.
A weighted average makes the effect of ratio concrete: two parts red to one part yellow lands clearly nearer red than an even split would.
Enter first colour, second colour, parts of the first colour, parts of the second colour. The defaults shown are a realistic worked example — swap in your own figures to get a result you can use.