Color Name Finder
What do you call this colour? The CSS name and the words people use for it.
Colour or name
HEX, rgb(), hsl(), oklch() or a CSS name to name a colour; a word such as sage, coral or dusty rose to find the colours called that.
Colours with this name
Names for this colour
Closest CSS colour names
Closest common names
From the xkcd colour survey, in which participants named the colours they were shown.
All 148 CSS named colours
Sort by a column heading. Names that differ only in grey and gray spelling are the same colour.
| Swatch | RGB | OKLCH | Actions |
|---|
About the Color Name Finder
Give a colour a name. Type a HEX code, an rgb(), hsl() or oklch() value, or pick a colour, and the finder tells you its CSS colour name — the exact one, such as teal or rebeccapurple, or the closest of the 148 names browsers know — and the common names people use for it, such as “sage”, “dusty rose” or “warm blue”, from the xkcd colour survey, in which participants named colours shown on their screens.
It also works the other way round: type a word such as sage, coral or dusty rose to see every colour with that name. A sortable chart lists all 148 CSS named colours with their HEX, RGB and OKLCH values. Closeness is measured in the OKLab colour space, so “closest” means closest to the eye, and everything runs in your browser.
How to use it
- Type or paste a colour into the box (
#1d5fcb,1d5fcb,rgb(29 95 203),oklch(51% 0.18 260)), or use the colour picker. - Read the common name at the top and the closest CSS name below it, with how far each is from your colour (ΔE OK) and whether it is exact, almost identical, close or a loose match.
- Look through the next nearest names in both lists; Copy copies a name.
- To find colours by name, type a word instead, such as
sageordusty rose, and choose Use on any result to see its names. - Browse the CSS chart at the bottom: sort it by name, HEX, lightness or hue, or filter it, for example by “blue”.
Examples
#1d5fcb
Common name ≈ warm blue (ΔE OK 0.050), then azul and mid blue · closest CSS name: royalblue (ΔE OK 0.054, a loose match).
rgb(0 128 128)
CSS name: teal (exact) · common names ≈ bluegreen (0.019), deep aqua, dark cyan.
The survey’s own “teal” is #029386, a brighter colour than the CSS keyword.
sage
sage #87ae73, sage green #88b378, light sage #bcecac, dark sage #598556 — and the closest CSS name of sage, darkseagreen.
Common uses
- Naming the colours of a design system, a brand guide or a style tile in words people understand.
- Writing alt text or product descriptions that mention a colour.
- Finding the CSS keyword nearest to a HEX value for quick prototypes and demos.
- Turning a colour word from a brief (“make it sage”) into an actual colour to start from.
Where the names come from
- CSS named colours: the 148 keywords of CSS Color 4 (
alicebluetoyellowgreen), which every browser understands. Some are the same colour under two names:aquaandcyan,fuchsiaandmagenta, and thegray/greyspellings. - Common names: the xkcd colour survey, in which participants typed names for more than five million colours shown on their own screens, in over 222,000 sessions; Randall Munroe published the most common names with the RGB colour each one stands for, under the CC0 public-domain dedication. The finder uses that list (949 names) without its 28 crude names; the survey spells grey with an e.
How the closest name is found
Your colour and every named colour are converted to OKLab, a colour space in which equal distances look about equally different, and the names are ranked by that distance, ΔE OK. CSS Color 4 treats 0.02 as one just-noticeable difference: the finder calls a name exact at 0, almost identical up to 0.02, close up to 0.05 and a loose match beyond that.
Transparency is ignored: a colour with an alpha value is named as if it were opaque. A colour outside sRGB (a vivid oklch() or color(display-p3 …)) is first mapped to the nearest displayable colour.
Searching by name
A word search looks through both lists. Results that are exactly your words come first, then names that contain all of them as whole words (“sage” finds “sage green”), then names where they start a word, then names that contain them anywhere (“turq” finds turquoise). CSS names are written as one word, so “dark blue” also finds darkblue. Both lists are in English and written without accents, so accents in your words are ignored: “rosé” finds the roses.
Limitations
- Colour names are a matter of language and culture: the survey reflects English speakers who took part online, so a name is a common answer, not a standard. CSS names are fixed keywords, some of them odd (
darkgrayis lighter thangray). - Names describe colours on a screen. The same HEX value can look different on another screen, in print or under different light.
- The common names cover 921 colours, so a colour can be a loose match to all of them; the distance tells you how good each match is.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What is the name of this HEX colour?
Type it in: you get the closest common name people use and the closest CSS name, each with how close it is. Many colours have no exact name; the nearest one is still a good description when it is close.
How many named colours does CSS have?
148 keywords in CSS Color 4, from aliceblue to yellowgreen, including spelling variants such as gray and grey. The chart on this page lists them all.
Why does darkgray look lighter than gray?
gray (#808080) is one of the 16 colours CSS took from the old VGA palette, while darkgray (#a9a9a9) comes from the X11 colour system, a separate list, so the two do not line up. CSS Color 4 keeps such names because they have been in use for decades.
Can I use the survey names in CSS?
No. Only the 148 CSS names are keywords that browsers understand; use the HEX value of a survey name, which the lists show next to it.
Is my colour sent anywhere?
No. Both name lists are part of the page and every match is worked out in your browser.