Skip to content
ToolZone

Color Name Finder

Take any HEX value and find the closest matching named color, useful for getting a human-friendly label for a specific shade.

Runs in your browser. Nothing you enter or upload leaves your device.

Closest Named Color
SteelBlue
#4682B4 · Δ 67.4
Other close matches
RoyalBlue
#4169E1
MediumSlateBlue
#7B68EE
SlateBlue
#6A5ACD
LightSeaGreen
#20B2AA

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

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. 1

    Type a six-digit HEX code into the text field, or click the swatch to pick a color.

  2. 2

    Read the Closest Named Color box for the best match and its distance score.

  3. 3

    Check Other close matches for alternatives.

  4. 4

    Copy the HEX code of any alternative with its copy icon.

Worked examples

A mid blue

Naming the default sample color.

Input
#4A90D9
Result
Closest: SteelBlue (#4682B4, Δ 67.4). Others: RoyalBlue, MediumSlateBlue, SlateBlue, LightSeaGreen

An exact CSS color

Checking a color that's already a CSS keyword.

Input
#FF6347
Result
Closest: Tomato (#FF6347, exact match). Others: Coral, Terracotta, Salmon, IndianRed

A bright green

Naming a flat-design green.

Input
#2ECC71
Result
Closest: Emerald (#50C878, Δ 52.9), with MediumSeaGreen a close second at Δ 54.2

When the top two distances are this close, either name is a fair description.

Limitations
The list has 135 names, so many colors only get an approximate match. Some names, such as Peach, Mint, Sage or Burgundy, are descriptive and not valid CSS color keywords. Only six-digit HEX codes are recognized; RGB, HSL and shorthand HEX inputs aren't supported.
Assumptions
Colors are standard sRGB values. An approximate perceptual distance in RGB is good enough for naming purposes.
Privacy
The matching happens in your browser and nothing you enter is sent or stored.

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.

Related tools