HTML Color Hex Code Calculator

In order to generate the HTML hex code of a color click on one of the colors below. You can also adjust different settings for the color you have selected.

HTML Color HEX Code Calculator

What is HTML hex color code?

Hex consist of three bytes. Each byte represents a two digit hexadecimal number. Thus it has a total number of six digits. Hex color codes are mainly used in HTML and CSS in order to define colors. Each byte represents red, green and blue components of a color by using a hexadecimal value between 00 and FF. In hexadecimal system letters starting with A are used after number 9. Hexadecimal FF is equal to decimal 255.

Total number of different colors that can be generated using this system is 16.777.216.