HTML colors are defined using the hexadecimal (hex) notation for a combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to Red, Green or Blue is 0 (hex 00) and he highest value is 255 (hex FF), giving us a total of more than 16 million different colors to play with (256 x 256 x 256). Hex values are written as 3 double digit numbers, starting with a # sign. For example, #000000 is black and #FFFFFF is white.
- Color List
- List of the 16 color names that are part of the W3C HTML and CSS standards.
- Color List (Extended)
- Complete list of the color names supported by all major browsers.
- Please note that those names are not part of the W3C HTML and CSS standards.
- Color Table
- 4096 colors table produced by combining 16 shades of each primary color (Red, Green & Blue).
- Color Table (Safe)
- Years ago, when computers only supported 256 different colors, a list of 216 “Web Safe” colors was suggested as a web standard, reserving 40 colors for system usage. While it is less relevant today as most of the computers can display millions of colors, using colors from that list maximize compatibility.
- Color table below created using that list. Using that color table will ensure that the colors you choose will be displayed correctly on all the browsers and all the computers.