Docomint

Color Name Finder

Find the closest standard CSS color name for any hex, RGB, or picked color.

🔒 Processed on your device

CSS supports 147 named colors (`rebeccapurple`, `cornflowerblue`, `tomato`) that are sometimes more readable in code than an opaque hex string. This searches all of them for whichever is mathematically nearest to your color in RGB space, and tells you how close the match really is — an exact hit reads very differently from "nearest of a bad lot."

Example: #4169e1 matches exactly to "RoyalBlue" (distance 0), while an off-brand teal like #1a8a8a lands near "Teal" but with a noticeable distance — worth knowing before assuming the named color is an exact stand-in.

How it works

  1. Pick a color
  2. Its Euclidean distance to every CSS named color is computed on your device
  3. The closest match — and how close it actually is — is shown

Frequently asked questions

How many named colors does CSS support?

147 — the full CSS Color Module keyword list (things like tomato, rebeccapurple, and cornflowerblue), which this tool searches for the closest match to whatever color you enter.

What's considered a close color match to a named color?

This tool reports the Euclidean distance in RGB space — under about 5 is effectively identical, under 40 is a recognizably close match, and anything higher means no CSS named color is really a good stand-in for your exact color.

Is my color values uploaded anywhere?

No — Color Name Finder runs entirely in your browser using JavaScript/WebAssembly. Your color values is never sent to a server.

Related tools