Skip to main content
NyankoTools

CSS Color Names: All 148 Named Colors with HEX & RGB

See all 148 CSS named colors with their HEX and RGB values. Search by name or color code, then click a card to copy the name, HEX or RGB. Everything runs in your browser and nothing is uploaded. To convert a code to RGB or HSL, use the Color Converter, or browse Japanese-style color names in Japanese Traditional Colors.

🔒 Runs in your browser · Your data is never sent to a server

    Notes

    • The list covers the 148 named color keywords in CSS Color Module Level 4. transparent and currentColor are not color values, so they are left out.
    • Alternate spellings such as gray and grey are listed separately, since both name the same color.
    • The color families are an automatic guess from hue and saturation. Colors near a boundary may not match how they look to you.

    Glossary

    CSS named color

    A color written as an English keyword, as in "color: tomato;". The browser maps it to a fixed HEX value.

    rebeccapurple

    A named color added in CSS Color Module Level 4. It stands for #663399.

    FAQ

    How many CSS named colors are there?

    There are 148 in the current spec (CSS Color Module Level 4), including gray/grey spelling variants and rebeccapurple. transparent and currentColor are not counted.

    Should I use gray or grey?

    Both name the same color (#808080) and behave identically in browsers. Pick one spelling per project so searching and refactoring stay simple.

    What is rebeccapurple?

    A named color added in CSS Color Module Level 4 that stands for #663399. Very old browsers may not know it, so use the HEX code if you need to support them.

    Why are transparent and currentColor missing from the list?

    They are not fixed colors. transparent is fully see-through and currentColor inherits the text color, so neither has a HEX or RGB value.

    Share this page

    ↑↓ Select Enter Open Esc Close