Color Namer

Color Namer finds the closest human-readable color name for a HEX/RGB code you enter (e.g. "Tomato", "Steel Blue"); it also works the other way, from a color name to its HEX code. It compares against CSS's official 148 named colors.

Color to name
#3366cc
royalblue
Closest · #4169e1
Name to color

How it works

  1. 1Type a HEX/RGB code or pick a color with the picker.
  2. 2See the closest matching name and the color difference.
  3. 3Optionally type a color name to go the other way and get its HEX code.
  4. 4Copy the result by its name or its code.

Frequently asked questions

Where do the color names come from?+

The 148 official named colors defined in the CSS Color Module Level 4 spec, the full set of names you can use directly in CSS, like `color: tomato;`.

How is the "closest" match determined?+

It calculates the weighted RGB distance (the redmean formula, a cheap approximation closer to human perception than a plain channel difference) between your color and every entry in the list, and returns the smallest difference.

What happens if there's no exact match?+

If your color isn't an exact entry in the list, it shows the closest name along with the difference, and you'll see a "not an exact match" note.

Can I use these names directly in CSS?+

Yes, the 148 colors in the list are CSS's official named colors; all of them work directly in CSS, like `color: tomato;`, no need to convert to HEX.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/color-namer/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Color Namer · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…