Back home

What is a hex color?

A comprehensive guide

Hexadecimal color codes, or hex codes, are a standard way of representing colors in digital design. Each hex code starts with a hash symbol (#) followed by six characters ranging from 0-9 and A-F. These characters are divided into three pairs, representing the intensity of red, green, and blue in the color.

Here's an example:

#00FFA0

00 represents no red

FF indicates maximum green

A0 suggests a moderate level of blue.

This system is based on the hexadecimal numbering system, which uses 16 digits instead of the 10 used in the decimal system. In hexadecimal, A through F represent values 10 through 15. This allows each pair in a hex code to vary from 00 (no color) to FF (full intensity), enabling the combination of these values to produce over 16 million different colors.

With that in mind, here's what our #00FFA0 looks like:

#00ffa0
red
00
green
FF
blue
A0

⭐ Try adjusting the sliders to change the color.

Here's a few more examples:

#000000

is black, since no colors are present..

#FFFFFF

is white, since all colors are maxed out.

#FF00FF

is super purple, since purple is a mix between red and blue.

Try entering a hex code below, to see what the output would be.

#

Ready to test your skills? Try a game of 🔥 Color Rush, or try the 📅 Daily Palette.

Go back to home