About the Color Name Finder
Color Name Finder turns a HEX code into a human-friendly name. Type or pick a color and it shows the closest match from a list of 135 named colors, including CSS keywords like SteelBlue and Tomato and familiar names such as Sage, Terracotta and Burgundy, along with four runner-up matches.
How it works
Your HEX code is converted to red, green and blue values and compared with every color in the built-in list of 135 names. The comparison uses a weighted Euclidean distance, sometimes called the "redmean" formula, which gives green differences the most weight and adjusts the red and blue weights based on how red the two colors are. This matches human perception better than a plain RGB distance.
The list is sorted by distance and the top five are shown. The closest one is displayed large with its HEX value and its distance (Δ). If the distance is under 5, the tool labels it an exact match, since the difference would be practically invisible.
How to use
- 1
Type a six-digit HEX code into the text field, or click the swatch to pick a color.
- 2
Read the Closest Named Color box for the best match and its distance score.
- 3
Check Other close matches for alternatives.
- 4
Copy the HEX code of any alternative with its copy icon.
Worked examples
A mid blue
Naming the default sample color.
An exact CSS color
Checking a color that's already a CSS keyword.
A bright green
Naming a flat-design green.
When the top two distances are this close, either name is a fair description.
Frequently asked questions
Will the matched name always be an exact match?+
No. There are over 16 million HEX colors and only 135 names in the list, so the result is usually the nearest name, with its distance shown.
Where do these color names come from?+
Most are CSS named color keywords. The rest are common descriptive names like Sage, Terracotta, Emerald and Charcoal.
What does the Δ number mean?+
It's the perceptual distance between your color and the named color. Lower is closer, and anything under 5 is shown as an exact match.
Can I use the color name in my CSS?+
Only if it's a CSS keyword, such as SteelBlue, Tomato or Gainsboro. Names like Peach or Sage aren't recognized by browsers.
Why do Magenta and Fuchsia both appear for #FF00FF?+
They're two names for the same color in CSS, so both have a distance of zero.