Color Name Finder
Find the closest CSS color name for a hex value
Nearest CSS keyword: royalblue — using color: royalblue instead of #4169e1 differs by 33.2 in RGB distance.
The comparison uses all CSS named colors and ranks them by straight RGB distance. A small distance means the keyword is visually close; zero means an exact match.
About the Color Name Finder
The Color Name Finder matches a hex code to the nearest CSS keyword. It is handy when you want a readable color name in code, or when you need to know which standard color a brand shade resembles.
Named colors are convenient for quick prototypes and design discussions. When a brand palette needs exact values, keep the hex code and use the name only as a description.
- ✓All CSS named colors compared
- ✓Ranked by RGB distance
- ✓Swatches with hex values
How to use the Color Name Finder
- 1
Enter or pick a hex color.
- 2
Compare the ranked list of named colors.
- 3
Copy the keyword you want to use.
Frequently asked questions
Is the nearest name always a good replacement?+
No. Named colors are a small fixed set, so a close match can still shift a brand color noticeably. Use names for prototypes and exact hex values for production.
Why does a color have several close names?+
CSS includes duplicates such as aqua and cyan, and some names sit very near each other, so several matches can be almost equidistant.
Save Color Name Finder to your favorites, or keep browsing converters.
Browse all 45 converters →