Color Name Finder

Enter a hex color and find the closest named CSS color. Search by color name to find its hex value. Browse all 148 named CSS colors.

#3b82f6
Your color
≈
#4169e1
royalblue
Closest match: royalblue
Distance: 33.20 (0 = exact match)

How to Use Color Name Finder

  1. Enter a hex color to find the closest named CSS color.
  2. Or search by color name to find its hex value.
  3. See the distance between your color and the closest match.
  4. Browse the full list of 148 named CSS colors.
  5. Copy hex values or color names with one click.

Frequently Asked Questions

How many named CSS colors are there?

There are 148 named CSS colors defined in the CSS Color Module Level 4 specification, from 'aliceblue' to 'yellowgreen'.

How is the closest color determined?

The tool calculates the Euclidean distance in RGB color space between your color and all 148 named colors, finding the nearest match.

Can I use color names in CSS?

Yes, all 148 named colors are valid CSS values. For example, 'color: coral' is equivalent to 'color: #FF7F50'.