Color Everything in CSS

June 24, 2025

Chromaticity diagram showing the CIE 1931 color space, with a horseshoe-shaped spectrum of visible colors. Wavelengths in nanometers are labeled along the curved edge. A triangle outlines the RGB gamut, and a central point marked “E” indicates the white point

And I must admit: I didn’t know a lot about color in CSS (I still used rgb(), which apparently isn’t what cool people do anymore), so it has been a fun learning experience. One of the things I noticed while trying to keep up with all this new information was how long the glossary of color goes, especially the “color” concepts. There are “color spaces,” “color models,” “color gamuts,” and basically a “color” something for everything.

Source: Color Everything in CSS | CSS-Tricks

The recently revitalised CSS Tricks has been on a roll with articles about color and CSS where a lot has been happening-from new color syntaxes and spaces, to color functions.

If you’re feeling like you’re not keeping up, well you aren’t alone.  Here Juan Diego Rodríguez has a great primer to get you up to speed on all things new in color in CSS.