CSS Color Names

Searchable list of every named CSS colour with swatch, hex, rgb and hsl.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A complete, searchable reference for every named CSS colour — the human-readable keywords like tomato, cornflowerblue and rebeccapurple that you can drop straight into a stylesheet instead of memorising hex codes. Each colour appears as a live swatch alongside its hex, rgb() and hsl() values, and every value has a one-click copy button. It is built for front-end developers, designers and anyone writing HTML or CSS who wants to pick a name, see exactly what it looks like, and grab the precise value in whatever format their project uses.

How it works

CSS ships with a fixed palette of colour keywords inherited from the old X11 and SVG colour lists, extended by the modern CSS Color specification. This tool hard-codes that canonical palette with its official hex values, then computes everything else in your browser: each hex is parsed to red, green and blue channels, and those are converted to HSL so the page can show the hue, saturation and lightness and group colours into families.

Searching matches against the colour name and all three value formats at once, so typing tomato, #ff6347, rgb(255 or hsl(9 all surface the same swatch. The family chips (red, orange, green, blue, gray and so on) filter the grid down to a slice of the palette when you are hunting for “a soft blue” rather than a specific name. Text labels on each swatch automatically flip between black and white based on a WCAG-style luminance check, so the name stays legible on both pale and dark colours. Nothing is uploaded — the entire palette, the colour maths and the clipboard copy all run locally, so the tool works offline and keeps your work private.

Example

Say a design hands you the swatch “that warm coral-orange”. You scan the Orange and Red family chips, spot tomato, and click its rows to copy:

  • HEX: #ff6347
  • RGB: rgb(255, 99, 71)
  • HSL: hsl(9, 100%, 64%)

Paste whichever your stylesheet uses. If you instead start from a value — a teammate sends #6495ed — type it into the search box and the matching cornflowerblue card appears instantly, confirming the name and giving you its rgb and hsl equivalents.

NameHEXRGB
tomato#ff6347rgb(255, 99, 71)
cornflowerblue#6495edrgb(100, 149, 237)
rebeccapurple#663399rgb(102, 51, 153)
seagreen#2e8b57rgb(46, 139, 87)

Every value shown here is computed in your browser from the canonical CSS palette — no network requests, no tracking, no data leaves your device.

Ad placeholder (rectangle)