Hex is a six-digit three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications to represent colors. The bytes represent the red, green and blue components of the color. One byte represents a number in the range 00 to FF (in hexadecimal notation), or 0 to 255 in decimal notation. This represents the least (0) to the most (255) intensity of each of the color components. A Hex color number can be written with 3, or 6 digits. Expanding this form to the six-digit form is as simple as doubling each digit: 09C becomes 0099CC.