Every color on a screen has a hex value, but almost no color has a name you can say out loud. Out of more than 16 million possible RGB colors, only a few hundred have established names at all. So when someone asks what a color is called, the honest answer is: it depends which list you look it up in.
The Color Name Finder on Ovatly looks colors up in one specific list of 504 names. Understanding how that list is built explains every answer it gives: why some colors earn an exact name, why most get only a nearest neighbor, and why a paint catalogue name will never appear. This guide walks through the two layers of the list, the matching rule behind it, and the quirks that come with both.
Contents
- Quick answer
- Two layers, one list
- A name is a lookup result, not a property
- Quirks of the standardized layer
- What the list leaves out
- How to look up a color name, step by step
- Worked example: an exact name and a nearest name
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
Color names work by lookup, not by property. The finder holds 504 named colors in two layers: the 148 CSS color keywords, a standardized set written into the web's own specification, plus traditional and widely published names on top. Enter a hex value in the Color Name Finder and it returns the closest entry in the list. If the list contains your exact hex, the match is exact, like #FF0000 and Red at distance 0. If it does not, you get the nearest available name, clearly labeled as nearest, like #2563EB and Royal Blue at a distance of about 30.3.
Two layers, one list
The first layer is the CSS color keywords: 148 names that the CSS specification itself defines, each tied to an exact hex value. These are the names browsers understand natively, the standardized vocabulary of color on the web. Because the list is fixed by a specification, it behaves like a reference table rather than an opinion. If a hex value is in this layer, its name is settled.
The second layer is traditional and widely published names: the names that accumulated through ordinary use long before screens, gathered from published sources rather than a single specification. This layer is what stretches the list from 148 entries to 504. It widens the net considerably, so more colors land near a name a person recognizes, but it carries no standard's authority. A traditional name is a name because people have used it, not because a specification froze it in place.
Both layers are searched the same way, as one combined list. The finder does not care which layer an answer came from; it cares how close the entry sits to your color.
A name is a lookup result, not a property
Nothing about a color makes it "really" Royal Blue. A name is what a lookup returns, and the lookup here is a distance measurement. The finder compares your hex against every entry using straight-line (Euclidean) distance in sRGB space: it treats the red, green and blue values as coordinates and measures how far apart the two colors sit. The smallest distance wins.
That produces two kinds of answer. An exact match means distance 0: your hex is an entry in the list. A nearest match means every entry is some distance away, and the tool hands you the closest one, labeled as the nearest match rather than the official name of your color. The distance number is the honesty mechanism. A distance of about 30.3, like the Royal Blue result for #2563EB, tells you the name is a neighbor, not a twin.
The method is fast and predictable, but it is not perfectly perceptual. Equal distances in RGB space do not always look equally close to a human eye, so the nearest name is best read as the closest available label, not a claim about what the color truly is.
Quirks of the standardized layer
Because the CSS layer mirrors a specification, it preserves the specification's oddities. Gray and grey spellings both exist in the CSS list, mirroring the standard: the same family of colors answers to two spellings, and both are legitimate entries rather than a typo.
Names can also collide on a single value. Aqua and Cyan are both #00FFFF in CSS: two different names, one identical hex. A lookup has to pick one, and this finder returns the first exact entry it meets. That rule sounds like a footnote, but it matters whenever you treat a name as an identifier. The name alone does not pin down the situation; the hex does.
What the list leaves out
The list covers CSS keywords and well-known traditional names. It does not include commercial paint catalogue names. Paint companies name their colors as trademarks, and those names belong to their catalogues, not to any shared list.
So if a color matches a famous paint name in your head, this kind of lookup will never confirm it. It will give you the closest CSS keyword or traditional name instead, which is the correct behavior: the tool answers from the list it actually holds, and says so.
How to look up a color name, step by step
- Open the Color Name Finder and enter a HEX color, or pick one with the swatch.
- Read the named color shown next to yours, side by side, so you can judge the pairing with your own eyes.
- Check whether the match is exact or the nearest available name, and note the distance if one is shown.
- Copy the name for your design tokens, brief or alt text, keeping the exact-or-nearest label attached to it.
Worked example: an exact name and a nearest name
Look up #FF0000. The list contains that hex in the standardized layer, so the result is exact: Red, distance 0. There is nothing approximate about it, and any tool using the same list will agree.
Now look up #2563EB, a saturated blue. No entry in either layer holds that hex, so the finder measures distances and returns the closest entry: Royal Blue, whose hex is #4169E1, at an RGB distance of about 30.3. The result is labeled as the nearest match, not the official name of that blue, because it is not. Same tool, same list, two different kinds of answer, and the label is what tells them apart.
Limitations and honest tradeoffs
The list is finite and most colors are not in it. With over 16 million RGB colors and only hundreds of established names, the typical result is a nearest name, and a nearest name is a communication aid, not a definition. Two quite different colors can share the same nearest name if they fall in the same gap between entries.
The distance method is a straight line in RGB space, which is simple and consistent but not a model of human vision. And the list's coverage is a choice: standardized and traditional names only, with trademarked paint names excluded by design.
Common mistakes
- Treating a nearest name as the color's real name. The label says nearest because it is. Quote it with the label, or do not quote it as a name at all.
- Assuming a name identifies one color. Aqua and Cyan share #00FFFF. Names collide; hex values do not.
- Expecting a paint name. Trademarked catalogue names are not in the list, so the absence is correct, not a gap to work around.
- Ignoring the distance. A distance near 0 and a distance of 30 are different strengths of claim. The number is part of the answer.
FAQs
How many colors are in the finder's list? 504 named colors: the 148 CSS color keywords plus traditional and widely published names.
What does an exact match mean? It means the list contains an entry with exactly your hex value, so the distance is 0. #FF0000 is exactly Red. Anything else is the nearest available name, and the tool labels it that way.
Why does my color only get a nearest name? There are over 16 million possible RGB colors and only hundreds of established names, so most colors fall between names. The nearest name is a communication aid, not a definition of your color.
Can two different names share one hex value? Yes. Aqua and Cyan are both #00FFFF in CSS. When more than one exact entry matches, the finder returns the first exact entry it meets.
Are paint color names included in the list? No. Commercial paint catalogues use their own trademarked names, and those are not included. The list covers CSS keywords and well-known traditional names only.
Conclusion
A color name is an address in a finite list: 148 standardized CSS keywords with traditional names layered on top, searched by distance. Exact when your hex is an entry, nearest when it falls between entries, and never a paint catalogue's trademark. Once you see names that way, the labels stop being confusing and start being useful. The companion guide shows how to put that human layer to work: naming colors in a design system so people use them. For more guides in this series, see our Color and Design Tools guides.