RGB represents color with three components—red, green, and blue—using the additive model of light used by computer screens. It is especially common in data visualization. section 4.2.1 section 4.5
A practical RGB color has a few useful properties:
- Each component commonly ranges from 0 to 255, representing one byte, or eight bits, of information. section 4.2.1
- Combining green and blue produces cyan in the additive model; different mixtures produce the full range of colors. section 4.2.1
- The same channel values can be written as hexadecimal triplets, a compact base-16 form. section 4.2.1 section 4.5
Two RGB triplets
(0, 255, 255) produces cyan, while (99, 48, 145) produces a purple. Each position controls the amount of red, green, or blue light. section 4.2.1
Compare two colors written directly as RGB triplets before translating them into hexadecimal notation. section 4.2.1




