Color Models Compared
| Model | Range | Best For |
|---|---|---|
| HEX | #000000 – #FFFFFF | CSS, web design, shorthand notation |
| RGB | 0-255 per channel | Screen display, CSS, image editing |
| HSL | H: 0-360°, S/L: 0-100% | Intuitive color selection, CSS3 |
| CMYK | 0-100% per channel | Print design, physical media |
HSL: The Intuitive Model
RGB makes picking colors tedious. Knowing that (52, 152, 219) is blue requires experience. HSL is straightforward: Hue 204° puts you in the blue range, 70% saturation is fairly vivid, and 53% lightness is middle brightness. To make it darker, lower L. To make it pastel, lower S. The hue stays the same.
Web-Safe Colors
In the 1990s, only 216 colors displayed consistently across browsers. That restriction ended decades ago. Modern screens display 16.7 million colors (24-bit). HDR displays push even further with 10-bit color (1.07 billion colors per channel).