Huewell

Color name finder

Enter any colour to find its closest name, or search nearly 1,000 colour names to find a hex code.

Yours
Closest name
Nearest CSS name:

Other close names

Where the names come from

Huewell matches against two open lists:

  • The 140 CSS named colours, such as tomato, slateblue and rebeccapurple, which you can type straight into CSS.
  • The xkcd colour survey, in which more than 200,000 people named colours shown on screen. Its 949 most-agreed names (like "dusty rose", "sage", "burnt orange") are the words people actually use. The list is released into the public domain (CC0).

How "closest" is measured

Comparing hex codes digit by digit gives odd results, because RGB numbers don't match how different colours look. Huewell measures distance in OKLab, a colour space designed so equal distances look like equal differences. The number shown (Δ) is that distance ×100: under about 2 is hard to tell apart side by side, under 5 is close, and above 10 is clearly a different colour.

Why a colour has more than one name

Colour naming is fuzzy. The same teal-ish blue might be "teal" to one person and "petrol" to another, and brands invent their own names. The list of other close names gives you options; pick the one that fits your audience.

Questions

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

Paste the hex code into the box. The closest name, its own hex code and how close it is appear instantly.

How many named colours does CSS have?

148 keywords, which is 140 distinct colours, because some are spelled two ways (gray and grey) and aqua/cyan and fuchsia/magenta are the same colours.

Can I use the xkcd names in CSS?

No. Only the CSS names (marked "CSS name") work as keywords in code. Use the hex code for any other name.

Can I find a hex code from a colour name?

Yes. Use the search box: type part of a name, such as "sage" or "navy", to see every matching colour with its hex code.

More colour tools

Palette generatorPress Space for balanced colour schemes, lock the ones you like.Colour converterHEX, RGB, HSL, HSV, CMYK and OKLCH in one go.Contrast checkerWCAG 2.2 AA/AAA and APCA, with fixes that pass.Image colour pickerPick colours and the main palette from any photo.CSS gradient generatorLinear, radial and conic gradients with CSS code.Tints & shadesLighter and darker versions, plus a 50–950 scale.Colour blindness simulatorSee palettes and images as people with CVD do.Colour harmonyComplementary, triadic, analogous and more.Colour mixerBlend two colours and see the in-between steps.