A color hex code describes the composition of a certain color in a specific color space, usually RGB. In the case of RGB, the first value pair refers to red, the second to green and the third to blue, with decimal values ranging from 0 to 255, or in hexadecimal 0 to FF (#RRGGBB).