148 CSS named colors
Searches the complete list of CSS named colors — from AliceBlue to YellowGreen — to find the best match.
Enter any HEX color code to find its closest CSS named color. Searches all 148 standard CSS color names and shows the 5 nearest matches ranked by similarity.
Searches the complete list of CSS named colors — from AliceBlue to YellowGreen — to find the best match.
Uses Euclidean RGB distance to identify the closest color name, with an exact match indicator.
See the five closest named colors ranked by distance, so you can choose the most appropriate name.
#4169E1(distance: 33)
Step 1
Type a hex code like #3b82f6 or use the color picker to visually choose any color.
Step 2
The closest CSS named color is shown with its hex value and whether it's an exact or near match.
Step 3
Review the 5 closest matches ranked by distance and copy the name or hex code you want.
CSS named colors are color keywords defined in CSS like 'red', 'cornflowerblue', or 'tomato'. There are 148 standard named colors recognized by all modern browsers.
The tool converts your input hex to RGB values and calculates the Euclidean distance to every named color, returning the one with the smallest distance.
The distance (Δ) is the 3D Euclidean distance in RGB space. A distance of 0 means an exact match. Smaller values indicate more similar colors.