![]() |
New Perspectives on HTML5 and CSS3, 8th Edition Tutorial 2 |
You define colors in HTML and CSS using either a color name or a color value expressed using the RGB or the HSL color model. The table below provides the extended list of 147 colors supported by CSS3. For each color, the table shows the equivalent RGB color value, that RGB color value expressed using the hexadecimal color model, and the color expressed using the HSL color model.
Sample | Name | RGB | Hexadecimal | HSL |
---|