HTML Colors
Learn about HTML colors.
The Web uses a RGB (red, green, blue) color model, which uses 3 numbers from 0 to 255 to represent each of the three colors. Because web browsers are only capable of displaying a small subset of the 16 million possible RGB colors, professional web designers stick to what are called "Web safe colors" - colors that browsers are known to display correctly. If you use a color that's not Web safe, thwn a browser may substitute another color.
A color is represented in HTML as a set of three two-digit hexadecimal numbers. The complete six-digit number is referred to as a "hexcode".
Bookmark this page: |








