In HTML code, there are two ways to describe colors. One is to use color names, such as blue, its color name is blue. Another is RGB color which is represented by the hex value. RGB stands for Red, Green, and Blue. The minimum value of RGB primary color is 0, the maximum is 255, if converted into hexadecimal format, that is, (# 00), (# FF). Such as White, the RGB value is (255,255,255) # FFFFFF; and black is (0, 0, 0), # 000000.
Note: W3C HTML 4.0 standard, only 16 colors are with color names (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow).
Nowadays, the browser not only supports the above mentioned color names. However, the best way is to using the hexadecimal RGB color values. And don't forget to add the symbol “# “before the value.
In order to find the right color easily, we have listed some color instructions for your reference as below.
Sort by Lightness Sort by Hex Sort by Name