Find the closest CSS color name for any color
Enter any HEX color code or use the color picker to find the closest matching CSS named color. CSS includes 148 named colors that you can use instead of hex codes for better readability. This tool calculates the Euclidean distance in RGB space to find the nearest match.
There are over 16 million possible colors in the RGB spectrum, but only a few thousand have names. This tool finds the closest named color to any hex code or RGB value you provide. It searches through CSS named colors (140 standard names like 'coral' and 'steelblue'), extended color databases (thousands of names from paint manufacturers, design standards, and color theory), and Pantone-inspired names. Named colors are invaluable for design documentation, brand guidelines, client communication, and making color specifications human-readable. Instead of telling a client 'use #2E4057', you can say 'use Charcoal Blue.' The tool uses perceptual distance calculation (CIEDE2000) to find the closest match as the human eye would perceive it, not just the mathematically nearest RGB value.
CSS defines 140 named colors. Extended databases include thousands — Pantone has 2,161+ colors, Crayola has 120+ crayon colors, and various paint companies add hundreds more. This tool searches the most comprehensive available database.
With 16.7 million possible RGB colors but only a few thousand names, most colors don't have exact matches. The tool shows the closest named color with a distance score — lower distance means a closer match.
CSS includes 140 predefined color names you can use instead of hex codes: 'red', 'coral', 'steelblue', 'papayawhip', etc. They work in all browsers but offer limited precision compared to hex or RGB.
Yes — CSS named colors are valid values (color: coral;). However, for brand-specific colors, hex codes are more precise and explicit. Named colors are great for prototyping and readable code.
This tool uses CIEDE2000, an advanced color difference formula that accounts for human perception. Simple RGB distance often gives counterintuitive results because our eyes are more sensitive to some color differences than others.