+------+------+-------+ | | | [RRGGBB] | <--- THE RESULTING COLOUR | | +------+------+-------+ | [RR] | [GG] | [BB] | <--- The colours that are being mixed +------+------+-------+ | +33 | +33 | +33 | | +10 | +10 | +10 | <--- Add colour | +1 | +1 | +1 | +------+------+-------+ | RR | GG | BB | <--- Hexadecimal codes for the colours that are +------+------+-------+ being mixed (this goes into your html files) | -1 | -1 | -1 | | -10 | -10 | -10 | <--- Remove colour | -33 | -33 | -33 | +------+------+-------+ | black, grey, white, | | red, green, blue, | <--- Predefined colours |yellow, cyan, magenta| +---------------------+