Named Color Finder

Find the closest named colour to any hex — the nearest match from a set of common colour names, with its swatch. Runs entirely in your browser.

Color Tools Free No upload Instant

Loading Named Color Finder…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Enter a hex colour and the tool tells you the nearest named colour from a set of common names — like salmon, teal or crimson — along with that name's own hex. It measures closeness by straight-line distance in RGB, so the match is approximate, not perceptual, and it draws from a short list of 30 names rather than the full CSS palette. It runs in your browser.

What the Named Color Finder Does

Give it a hex code and it returns the closest colour name it knows, plus a swatch so you can see how good the match is. It is the quick way to attach a human label to a raw hex value — to say roughly that #FA8072 is salmon.

That is handy when you want a memorable name for a colour, a rough description for a note or alt text, or simply a sense of which everyday colour a hex is nearest to.

How It Works

The tool holds a small dictionary of common colour names, each with its own RGB value. When you enter a hex, it converts it to RGB and then measures the distance from your colour to every name in the list, treating red, green and blue as three coordinates in a cube.

Whichever name has the smallest straight-line distance is reported as the nearest. That makes the answer fast and deterministic, but the distance is measured in raw RGB, which does not match how the eye judges colour difference — so the closest number is not always the closest-looking name.

Data source & conversion logic

  1. Convert the hex to RGB. Read your colour as red, green and blue coordinates from 0 to 255.
  2. Measure distance to each name. For every name in the list, compute the straight-line distance between its RGB and yours.
  3. Pick the smallest distance. The name with the least distance is the nearest match.
  4. Show the name and swatch. Report the closest colour name and its own hex so you can compare.

Nearest-colour distance

for each named colour: distance squared = (R − Rn)² + (G − Gn)² + (B − Bn)² the name with the smallest distance wins
Worked example
#FA8072 → salmon (exact) · #2563EB → blue (a coarse match)

Distance is measured in raw RGB. A bright mid-blue like #2563EB has no close name in a 30-colour list, so it snaps to plain blue even though they look quite different.

Standards & references

  • CSS named colours — CSS Color Level 4 defines 148 named colours (the 17 original HTML names plus X11/SVG additions, ending with rebeccapurple). This tool uses a curated subset of 30 common names, so it is a rough labeller, not a full lookup.
  • Euclidean RGB distance — Closeness is the straight-line distance between two colours treated as points in the RGB cube. It is simple and fast but not perceptually uniform.
  • Perceptual colour difference — Measures like CIE Delta-E judge difference the way the eye does. Two colours equally distant in RGB can look very different, which is why an RGB-nearest name is only approximate.

Accuracy & Limitations

The match is exact maths against a short list, so it is consistent — but the list has only 30 names. A colour with no close neighbour in that list still gets a name, and it can be a poor visual fit, like a vivid blue mapping to plain blue.

Distance is measured in raw RGB, not the way human vision works. Equal RGB distances do not look equally different, so occasionally a name that is slightly farther in numbers would actually look closer to your eye.

There is no tie handling beyond first-found order. When two names are nearly equidistant, the result can feel arbitrary — both are reasonable, and the tool simply reports the first smallest.

It is a labeller, not a converter to an exact standard. If you need a precise, full-palette name, the 148-colour CSS set or a perceptual matcher will do better than a 30-name shortlist.

Real-World Use Cases

Naming a hex colour

Get a memorable, human label for a raw hex value.

Writing descriptions

Describe a colour in notes, alt text or documentation.

Quick identification

See which everyday colour a hex is closest to.

Learning colour names

Connect hex values to the common names you already know.

When to use it — and when not to

Good for

  • Putting a common name to a hex
  • A quick, rough colour label
  • Describing a colour in words
  • Casual colour identification

Not the best choice for

  • An exact match to the full CSS palette
  • Perceptually accurate naming
  • Distinguishing very close colours
  • Authoritative or standardised naming

For the full set, match against all 148 CSS named colours. For a name that matches what the eye sees, use a tool that measures perceptual difference (Delta-E) rather than raw RGB distance. For exact values, a hex-to-RGB or HSL converter keeps the colour precise.

Frequently Asked Questions

How does it find the nearest colour name?
It converts your hex to RGB, measures the straight-line distance to each name in its list, and reports the closest. The name with the smallest distance wins.
How many names does it know?
A curated set of 30 common colour names. CSS itself defines 148 named colours, so this is a deliberately short, everyday list rather than the full palette.
Why did my colour match a name that looks different?
Because the list is short and the distance is measured in raw RGB. A colour with no close neighbour still gets the least-distant name, which can look noticeably different — and RGB distance does not match how the eye sees.
What is Euclidean RGB distance?
It treats red, green and blue as three coordinates and measures the straight-line gap between two colours in that cube. It is simple and fast but not perceptually uniform.
Is this the same as the full list of CSS colour names?
No. CSS Color Level 4 has 148 names; this tool uses 30 common ones. For an exact CSS-name lookup, match against the complete set.
Would a perceptual match be more accurate?
Often, yes. A measure like CIE Delta-E judges difference the way human vision does, so its nearest name can match your eye better than a raw RGB nearest. This tool uses RGB for speed and simplicity.
Does it give an exact name when my hex is one of the listed colours?
Yes. If your hex equals a colour in the list (for example #FA8072 for salmon), the distance is zero and you get an exact match.
Can I get the hex of the matched name?
Yes. The tool shows the matched name and its own hex, so you can compare it to your input and decide if it is close enough.
Why might two different hexes give the same name?
Because each name covers a region of colour space. Any hex whose nearest neighbour is that name maps to it, so a range of similar colours can all resolve to one label.
Is this useful for accessibility alt text?
As a rough description, yes — a common name is easier to read than a hex. Just remember it is approximate; for precision you might give both the name and the hex.
Is my colour sent anywhere?
No. The match is computed in your browser against a built-in list; nothing is uploaded.
Can I add my own names to the list?
Not in this tool — the list is fixed at 30 common names. For custom naming you would need a tool that lets you supply your own dictionary.

References

Matches against a curated set of 30 common colour names by straight-line distance in RGB; honest that this is a coarse net, not the full 148-name CSS palette or a perceptual match.

PopularHot

Color Picker

Use Color Picker to choose and convert color precisely — instant and free.

ColorOpen Tool
Popular

HEX to RGB Converter

Use HEX to RGB Converter to choose and convert color precisely — instant and free.

ColorOpen Tool
Trending

Color Palette Generator

Use Color Palette Generator to choose and convert color precisely — instant and free.

ColorOpen Tool
Trending

Gradient Generator

Use Gradient Generator to choose and convert color precisely — instant and free.

ColorOpen Tool
Editor's Pick

Contrast Checker

Use Contrast Checker to choose and convert color precisely — instant and free.

ColorOpen Tool

RGB to HEX Converter

RGB to HEX Converter with copy-ready values for design and front-end work.

ColorOpen Tool

Ready to try the Named Color Finder?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.