ColorName Finder

Paste a hex code or pick a colour and get the name of the nearest named colour, how close it is, and other names nearby. CSS names are marked, so you know which ones you can type straight into code.

  • Free forever
  • No sign-up
  • Runs in your browser

Your colour

Paste a hex code like #3A7BD5, or open the picker.

Yours · #3A7BD5
Royal Blue · #4169E1
RGB
rgb(58, 123, 213)
HSL
hsl(215, 65%, 53%)

Closest name

Similar

Royal Blue

A CSS colour: you can write royalblue in CSS instead of #4169e1.

Other close names

  • Steel BlueCSS

    #4682B4 · Similar

  • Glaucous

    #6082B6 · Similar

  • Dodger BlueCSS

    #1E90FF · Similar

  • Cerulean

    #007BA7 · Similar

  • Denim

    #1560BD · Similar

  • Cornflower BlueCSS

    #6495ED · Similar

  • Slate BlueCSS

    #6A5ACD · Similar

  • Medium Slate BlueCSS

    #7B68EE · Similar

Names are matched from 304 colours: every CSS named colour and well-known names from paint, fashion and design. Colour names aren't a standard, so other lists may name the same colour differently.

How to use the Color Name Finder

  1. 1

    Paste a hex code, type one, or open the colour picker.

  2. 2

    Read the closest name and how close the match is.

  3. 3

    Look through the other close names and tap Use to explore one.

  4. 4

    Copy the name, the hex code or the CSS keyword.

How the closest name is found

Every name in the list has a set colour. The tool measures how different your colour looks from each one and picks the smallest difference. It measures in OKLab, a colour space built so that equal distances look about equally different to people, which gives better matches than comparing red, green and blue numbers.

Most colours don't have an exact name, so the result says how close it is: an exact match, almost the same, close, similar or only loosely like it.

CSS named colours

CSS has 148 named colours you can write instead of a hex code, like tomato, rebeccapurple or slategrey. Seven of them come in two spellings, grey and gray, and two pairs are the same colour under two names: aqua and cyan, and fuchsia and magenta. Names marked CSS work in any browser, so color: teal is the same as color: #008080.

The other names in the list come from paint, fashion and design, like burgundy, sage, terracotta and mustard. They're useful for describing a colour to a client or in product listings, but in code you still need the hex value.

Naming colours for your brand

Names make a palette easier to talk about. "Use the sage, not the olive" is clearer than two hex codes. Many brands also give colours their own names, like Ocean or Clay, based on the closest common name.

For product listings, use the plain name people search for, like navy or burgundy, rather than an unusual one, and put the fancier name in the description.

Frequently asked questions

How do I find the name of a colour from a hex code?

Paste the hex code into this tool. It compares it with every name in its list and shows the closest one, how close it is and other names nearby.

How many named colours does CSS have?

148, counting both spellings of the seven grey and gray names, and aqua and cyan, fuchsia and magenta, which are the same colours.

Can I use colour names in CSS?

Only the CSS named colours, marked CSS here, like teal or coral. Other names, like burgundy or sage, aren't CSS keywords, so use their hex codes.

Why do other sites give a different name?

Colour names aren't a standard outside CSS, and each list has its own names and values. The same blue might be cerulean in one list and steel blue in another.

How do I get a hex code from a picture?

Use the image colour picker to pick a colour from a photo, then paste the hex code here to find its name.

Embed this tool on your site

Want the Color Name Finder on your own page? Copy the embed code and paste it where you want it to show up.

  • Free to use on your blog or site, with no account.
  • It sizes itself to fit and works on phones.
  • Keep the credit line so readers know where it's from.
your-site.com/blog

Free Color Name Finder by Hiyaly

Put it allon one link.