What is HEX?

Knowledge Base

HEX is just an alternative method of communicating RGB colors.

Instead of each of the red, green and blue channels being represented by numbers from 0 to 255, they are represented in the hexadecimal number system, 00 to FF.

The three channels are then typically combined into a single six-digit hexadecimal number, for example R=78, G=138, B=249 is equivalent to #4E8AF9.

Note: The hash or pound sign is used to denote the start of a hex color. In some cases it may not be present or it may be typed in automatically by the program in use.

The purpose of this system is to make it easier to store and physically type colors into a computer, especially in web or other popular programming languages.

Do you want to convert between RGB and HEX or HEX to RGB? Check out our free color converter.

Share this Post: