CSS Color Names
Free online css color names. Browse all 148 named CSS colors. Perfect for designers and developers.
Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/css-color-names" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free CSS Color Names tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/css-color-names --> <a href="https://www.theutilbox.org/tools/css-color-names">CSS Color Names by The Util Box</a>
Frequently Asked Questions about CSS Color Names
CSS Color Names — The Named Colours Browsers Actually Understand
This CSS colour names reference lists the named colours that ship with every browser, each with its hex code and its RGB values. Search by name or by hex, filter down to a colour family, and click any swatch to copy its hex code.
These are the colours you can write literally in a stylesheet — tomato,
cornflowerblue, rebeccapurple — with no hex code
needed. They are fixed by the CSS specification, so a browser anywhere in the world renders them identically.
The Colour Families
The list is grouped into eleven families, and the filter lets you narrow to any one of them:
The search box matches against both the name and the hex value, so pasting #f
finds every colour whose hex contains that fragment. The sort dropdown switches between alphabetical order and
order by hue, which is the more useful arrangement when you are building a palette.
How the Hue Sort Works, and Other Limits
- Hue sorting uses a standard formula that converts each colour's RGB values into a hue angle, then sorts by that angle. Greys and near-greys have no meaningful hue, so they cluster wherever the formula puts them rather than at a natural position.
- The list is the CSS named-colour set, which is a specific and relatively
small group. It does not include the extended colour keywords, the
systemcolours, or any of the X11 colour names. - Clicking a swatch copies its hex code, not the CSS name. There is no button for copying the keyword form, and no export of the whole list.
- The data loads from a compressed local database in your browser, so the page is fast and works offline once loaded.
A Note on the Names Themselves
The list is a mixture of origins, which is why some names are obvious and others are not. A few are plainly
descriptive — white, black,
rebeccapurple — while others came from a committee in 1989 choosing sixteen
"magical" names for the X11 colour set that the CSS list was later built from: the likes of
darkslategrey, mediumaquamarine and
lightgoldenrodyellow.
That history is why the list contains near-duplicates that look like mistakes — gray
and grey are both valid and both refer to the same colour, and
aqua and cyan are aliases of each other. Only the
American spellings are actually in the CSS specification; the grey variants are recognised by browsers as
a convenience, but they are not part of the standard.
Related Colour Tools
- Color Name Finder — go the other way, from a colour you have to the nearest name.
- Color Picker — pick a colour visually and read its values.
- HEX to RGB — convert any hex code into its channel values.
- RGB to HEX — and back again.
- Color Harmony — score a palette built from these colours.
- Web Safe Color Picker — the older 216-colour palette that works everywhere.
- Tailwind Color Finder — the closest colour from Tailwind's scale.
The reference is served from a local database and runs entirely in your browser.