Color Names

Modern browsers support 140 named colors, which are listed below. Use them in your HTML and CSS by name, Hex color code, RGB or HSL value.

Red HTML Color Names

8 colors
ColorNameHex codeRGB codeHSL code

Pink HTML Color Names

6 colors
ColorNameHex codeRGB codeHSL code

Orange HTML Color Names

6 colors
ColorNameHex codeRGB codeHSL code

Yellow HTML Color Names

11 colors
ColorNameHex codeRGB codeHSL code

Purple HTML Color Names

18 colors
ColorNameHex codeRGB codeHSL code

Green HTML Color Names

23 colors
ColorNameHex codeRGB codeHSL code

Blue HTML Color Names

25 colors
ColorNameHex codeRGB codeHSL code

Brown HTML Color Names

17 colors
ColorNameHex codeRGB codeHSL code

White HTML Color Names

17 colors
ColorNameHex codeRGB codeHSL code

Gray HTML Color Names

10 colors
ColorNameHex codeRGB codeHSL code

About HTML and CSS Color Names

The standard 140 HTML color names originate from the X11 color system and are formally standardized in CSS3 and HTML5 specifications. They can be used directly in CSS styling, for example: color: coral; or background-color: lightsalmon;.

Frequently Asked Questions

Are HTML color names case-sensitive?▼

No. HTML and CSS color names are case-insensitive. You can write coral, Coral, or CORAL interchangeably in all modern browsers.

What is the difference between Hex code and RGB?▼

Hex codes represent red, green, and blue values using base-16 hexadecimal numbers (00 to FF), while RGB uses base-10 decimals from 0 to 255. Both specify the exact same color output on digital screens.

Can I use these colors in modern web development?▼

Yes. All 140 HTML color names are universally supported across all browsers, operating systems, and design software including Figma, Tailwind CSS, and Adobe Creative Suite.