3 ms·
Expanding on this a little more, it's actually broken up into hexadecimal pairings (or 8-bit numbers). 00 00 00 = R(0) G(0) B(0) for Red, Green Blue FF FF FF
by alpha_squared 9y ago
Expanding on this a little more, it's actually broken up into hexadecimal pairings (or 8-bit numbers).
00 00 00 = R(0) G(0) B(0) for Red, Green Blue
FF FF FF = R(255) G(255) G(255)
That makes 16,777,216 possible combinations (256^3).
For pure red, that's FF0000; green, #00FF00; blue, #0000FF. Mixing those is how you get intermediary colors: red + green = yellow; red + blue = magenta; green + blue = cyan.
When the colors are referenced as single-digit hex numbers, that value is applied for the pairing. This would make #F00 (red) actually be applied as #FF0000.