Every CSS named color in one place
CSS lets you write colors as keywords like tomato, navy, or rebeccapurple
instead of hex codes. There are around 148 of them, each mapping to an exact
value. This reference shows a live swatch for every named color alongside its
hex, RGB, and HSL representations, so you can pick the right one and copy the
format you need.
How it works
Each named color has a fixed hexadecimal value defined by the CSS Color Module. The tool parses that hex into its RGB components (red, green, and blue, each from 0 to 255) and then converts those into HSL (hue from 0 to 360, saturation and lightness as percentages) using the standard conversion: it finds the maximum and minimum of the normalised channels to compute lightness, derives saturation from their spread, and computes hue from which channel is largest. The swatch is rendered directly from the hex so you see the true color.
Tips and notes
HSL is handy when you want to find a lighter or darker version of a color —
just raise or lower the lightness while keeping hue and saturation fixed. Watch
out for the duplicate names: aqua equals cyan, fuchsia equals magenta,
and every gray has a grey twin. The newest keyword is rebeccapurple
(#663399). Search by name to browse a family like the blues, or paste a hex to
see whether it matches a named color. Everything — parsing, conversion, and the
swatches — runs locally in your browser.