The two major classifications of color in HTML5 are treated in this video. The RGB (Red, Green, Blue) and Hexadecimal colors are the classes.
The RGB is grouped from 0 to 255. It means the red has a range of 0 - 255, green ranges from 0 - 255 and blue ranges from 0 - 255. The combinations of these numbers can produce any number.
Hexadecimal colors ranges fro 0 to F. The base 16 in Number System in Mathematics explains this. The range is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Any combination of six (6) number and figure will produce a color irrespective of the name.