CSS Named Color Reference

Browse 148 opaque CSS named colors by hue group and copy an individual swatch value.

On-device No sign-up Free to use

Find named colors controls

?

Type part of a color name, such as rebecca or dark, or a hex value, such as #663399. An empty box shows the start of the list.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use find named colors to update it.

Result

Showing an example.

List the first 20 alphabetical entries while browsing the full grouped swatch grid.

148 named CSS colors in alphabetical order. Showing the first 20 because the search box is empty.

Loading the tool. Your result will appear here.

https://usefreetools.net/css-named-color-reference · 20 November 2026

Was this helpful?

How to use CSS Named Color Reference

  1. Browse the grouped color swatches, or search a name fragment such as rebecca or a hex color such as #663399.
  2. Set Rows to show from 1 to 148 and select Find named colors for the result table. A hex query ranks names by the stated RGB distance.
  3. Select a swatch to copy its hex value, or copy a name/value from the result. If clipboard access is unavailable, use the displayed manual-copy value.

Example: CSS Named Color Reference

List the first 20 alphabetical entries while browsing the full grouped swatch grid.

You add
Rows to show: 20
You get
148 named CSS colors in alphabetical order. Showing the first 20 because the search box is empty.

Options

Search and swatches
Search up to 64 characters. Name fragments match keywords; #RGB, #RRGGBB or six bare hex digits request a nearest-color comparison. An empty search shows all 148 swatches grouped by hue; a filtered preview shows up to 24 swatches.
Rows to show
This setting controls the generated table, from 1 to 148 rows. It does not change the empty-search swatch grid. The table lists names alphabetically for a name search and by encoded sRGB distance for a hex query.

Supported inputs and limits

  • A pinned list of 148 opaque CSS keywords, including spelling aliases.
  • Nearest results use Euclidean distance in encoded sRGB rather than a perceptual color-difference model.
  • Transparent is not opaque, while currentColor depends on an element’s color; neither is part of this comparison.
  • Hue grouping is a browsing aid.
  • The preview shows every bundled swatch for an empty search and up to 24 for a filtered search;
More details

Rows to show controls the separate result table.

Clipboard copying depends on browser permission, with a manual-copy message when unavailable.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

A keyword is a fixed color

Named colors are convenient in stylesheets, but their names do not form an evenly spaced palette. Copy the hex value when you want to keep a particular value independent of the chosen keyword.

Questions about CSS Named Color Reference

Why do gray and grey have the same value?

CSS includes spelling aliases. They remain separate names in this reference even when their RGB values match.

Is the nearest name visually identical?

Only an exact hex match is identical. RGB distance is a simple numerical comparison and does not predict perceived similarity.

Can I use currentColor here?

It depends on an element’s computed color, so it is not included in the opaque keyword comparison.

Page updated · Project managed by Tony Hines · Report a problem with CSS Named Color Reference