Skip to content

CSS Color Module · keywords

CSS named colors

Every CSS named color keyword from the Color Module Level 4 set — same values browsers resolve for color: rebeccapurple and friends, with copy-ready HEX.

Why this page exists

Keywords are valid CSS but easy to mistype. A searchable table beats memorizing whether it is DeepPink or deeppink (CSS is case-insensitive, but your linter may care).

How to use it

  1. Search by keyword or HEX.
  2. Copy the keyword for stylesheets or the HEX for design tools that do not accept names.
  3. Cross-check odd matches with the color name finder.

Use a different reference when…

You need only the legacy 16 HTML colors — use the smaller HTML color names intro table.

Practical tips

  • transparent and currentColor are keywords but not swatches — they are omitted here.
  • Some keywords are identical across specs; HEX is the source of truth.

FAQ

How many named colors are there?

148 keywords in the CSS4 set (excluding transparent).

Is RebeccaPurple really in CSS?

Yes — #663399, added as a tribute and now a standard keyword.

Can I use names in OKLCH pipelines?

Browsers resolve names to sRGB first. Use HEX or OKLCH in design tokens for perceptual work.