what are hex color codes?
What is a HTML color code? A HTML color code is an identifier used to represent a color on the web. Common forms of these codes are as a keyword name, a hexadecimal value, a RGB (red, green, blue) triplet, and a HSL (hue, saturation, lightness) triplet. Each form allows a choice of 16,777,216 colors. For example, the color red can be identifier using the following formats: 1  red (keyword name) 2  #ff0000 (hex) ( 3 255,0,0) (RGB) ( 4 0, 100%, 50%) (HSL)