Hex colors or a hex triplet 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. Web colors specify colors in the True Color (24-bit RGB) color scheme. The hex triplet is formed by concatenating three bytes in hexadecimal notation, in the following order:
- Byte 1: red value (color type red)
- Byte 2: green value (color type green)
- Byte 3: blue value (color type blue)
Hex colors are most often used in web development but how do you know what your color’s hex value is? There are over 16 million possible colors!
While most paint programs include a color picking tool, we’ve found a few nice ones that are right online at:
Note down your palette’s codes for later reference and use them throughout your site for continuity in feel and design flow… but don’t be afraid of color! Many website designers make the mistake of severely limiting the colors used in their site to only one or two. While this kind of design can be simple to implement, the viewer will soon get bored and click away to more exciting destinations.
It’s recommendable to especially use color to draw the viewer’s eye to current issues, announcements or sales invitations. Which color you choose is not as important as creating a visual hierarchy to guide your viewer’s eyes to the most important things first. Try a couple of different colors for a/b testing to find out what works best for you!