Contrast Grid
Score every colour in a palette against every other one.
All 148 CSS colour names, searchable and sortable.
The names appear here
The HTML Color Names Chart lists all 148 names CSS recognises with their HEX, RGB and HSL values, sortable by hue or lightness rather than alphabetically — which is what turns an arbitrary historical list into something you can pick from.
Every colour name CSS recognises — all 148 of them — with its HEX, RGB and HSL values, in a chart you can search, filter and sort. Click any colour to copy its value in whichever notation you need.
The set is a historical accident worth knowing about. These are the X11 colour names from Unix workstations in the 1980s, inherited by early browsers and then standardised because too much existing markup depended on them. That is why the list is so uneven: over thirty variations of blue and one plain brown, darkgray that is lighter than gray, and four different greys spelled both ways.
Sorting by hue or by lightness rather than alphabetically is what makes the chart useful — it turns an arbitrary list into something you can actually pick from. Each colour also carries its contrast against black and white, so you can see at a glance which of the named colours can carry text. rebeccapurple is the only name added in the modern era, standardised in 2014 in memory of Eric Meyer’s daughter.
Alphabetical order makes the set useless to browse. Sorting by colour turns it into a palette.
HEX, RGB and HSL for each name, copied in whichever you have selected.
Scored against black and white text, so the names that can carry text are obvious.
Reds, blues, greens and the rest, which is how people actually look for a colour.
Why darkgray is lighter than gray, and where rebeccapurple came from.
By name, or by colour family — reds, blues, greens and the rest.
By hue or lightness rather than alphabetically, which is what makes the set browsable.
Any colour copies in the notation you have selected.
Each colour is scored against black and white text.
148 distinct names, though several are duplicates — gray and grey, and their compounds, are spelled both ways and refer to the same colours. There are 138 unique colour values.
Because they come from different sources. gray was defined by HTML at #808080, while darkgray came from the X11 set at #A9A9A9. When the two lists were merged both were kept, and the contradiction with them.
Rarely. The set covers the colour space unevenly, the names are inconsistent, and none of them belong to your design. A custom property with a meaningful name is better in every way except typing speed.
#663399, added to the CSS specification in 2014 in memory of Rebecca Meyer, daughter of the CSS author Eric Meyer, who died at six. It is the only name added since the X11 set was adopted.
What people who use the HTML Color Names Chart think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the HTML Color Names Chart. It takes half a minute and no account.
Write the first reviewScore every colour in a palette against every other one.
Build a duotone pair and get the CSS to apply it.
Find the closest named colour to any HEX code.
Turn one colour into a full 50–950 Tailwind scale.
Build tints, shades and tones from one colour.
Convert to and from HWB, the hue-whiteness-blackness notation.
Convert colour temperature in kelvin to an RGB colour.
Blend two colours and see every step between them.