CSS Named Color Finder
Enter a colour to find the nearest CSS name, or enter a name such as cornflowerblue to get its HEX and RGB values.
Use the tool
Loading the tool…
About CSS Named Color Finder
Find the nearest named CSS colour for a HEX or RGB value, or find the HEX value for a colour name such as cornflowerblue.
Worked example
Enter `#3A7BD5`. The tool shows the nearest named colour. Enter `cornflowerblue` to see its HEX value.
Limits
The nearest named colour is an approximation, so it may not match your colour exactly. Named colours are the fixed list of CSS colour names.
How to use CSS Named Color Finder
- Choose what to look up.
- Enter the colour or the name.
- Read the result and the five nearest names.
Good to know
- Distance is the straight-line distance in red, green and blue.
- Names that share a value, such as aqua and cyan, are listed together.
- Spaces and capitals in names do not matter.
- transparent is not a colour value and is refused.
Frequently asked questions
How many names are there?
148, which are all the colour keywords of the CSS Color specification.
Why is the nearest name not what I expected?
The distance is simple and does not match human perception exactly, so check the five nearest names.