|
Each digit in the hexadecimal system is a value from 0 to F. The hexadecimal color system counts by 0 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, with "0" being null value, and "F" being highest value of fifteen.
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-------------------------------------------------------------------------------------------------------------------------- Hexadecimal 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Decimal 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -------------------------------------------------------------------------------------------------------------------------- Hexadecimal 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F Decimal 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 -------------------------------------------------------------------------------------------------------------------------- Hexadecimal 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F and so on... The largest value you can assign to one of the values of red, green or blue is FF, which is 255 in the normal decimal system. If we assign a hex color value of "#FF0000" this would display the moust amount of red as possible. The code's value has the green and blue values set to null and so there would be no green or blue present. |