HTML Hexcolors :
DECIMAL vs. HEX








In classical numbers you have ten different figures, whereas in hexadecimal numbers you have 16 different figures.

Below are numbers from 0 to 15 in both systems:

DEC0123456789101112131415
HEX0123456789ABCDEF


The highest hexadecimal number you can specify using one figure is F equaling 15.
With two figures the highest value is FF equaling 255.

To prevent confusion on numbers higher than 9 hexadecimal colors are often entered with a # in front of them.

In HTML, color codes have 6 digits, like #FF3C96.

They are explained in detail on the following pages...

 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"