Hexadecimal is known in short as hex. First of all, computer color representation needs to be discussed. This stands for Red Green Blue. There are also different color depths, commonly referred to by the number of bits representing the color. Since each hex digit is four bits, colors in HTML are in 24-bit depth.
More bits means more colors.
In the hex number of a color in HTML, the first two digits represent the red value, the middle two represent the green value, and the last two represent the blue value. The higher the number, the stronger that color will be. Hexadecimal numbers need to be discussed as well. F. Numbers can be converted to decimal easily. FF is 255 in decimal.