What Is a HEX Color Code?
A HEX color code uses hexadecimal numbers to describe a color. A six digit HEX code uses three pairs for Red, Green, and Blue. For example, #FF5733 uses FF for Red, 57 for Green, and 33 for Blue. The code can start with #, but converters can accept the characters without it.
What Is RGB?
RGB stands for Red, Green, and Blue. It describes a color with three channel values, usually from 0 to 255. Each channel controls one part of the final color.
Red
The Red channel controls how much red appears in an RGB color. Its value ranges from 0 to 255. A value of 0 adds no red, while 255 adds the strongest red. For example, FF in HEX equals 255, producing maximum red.
Green
The Green channel controls the green part of an RGB color. Its value ranges from 0 to 255. Higher values add more green, while 0 adds none. For example, 80 in HEX equals 128 in decimal, creating a medium green level.
Blue
The Blue channel controls the blue part of an RGB color. Its value ranges from 0 to 255. A value of 255 gives the strongest blue, while 0 adds none. For example, 00 in HEX equals 0 in decimal, so it adds no blue.
