Complete Guide to All 148 X11 & CSS Named Colors
Every browser implements the 148 standardized X11 / CSS named colors—from classic primaries like coral and crimson to specialized shades like midnightblue, rebeccapurple, and papayawhip.
Example conversion (midnightblue): rgb(25, 25, 112)
Origin of the 148 X11 Web Color Keywords
Originally defined for the MIT X Window System in the late 1980s and expanded through SVG 1.0 and CSS Color Module Level 4, these 148 human-readable keywords map deterministically to exact 8-bit sRGB values.
Typing any named color—such as midnightblue, tomato, or rebeccapurple—instantly resolves its HEX, HEXA, RGB, RGBA, HSL, HSLA, HSV, HSVA, CIE LAB, CIE LCH, OKLAB, OKLCH, and CIE XYZ coordinates.
Converting Named Keywords for Modern Design Systems
While X11 keywords are convenient for rapid prototyping, production design tokens typically require alpha-ready or perceptually uniform representations like OKLCH and RGBA.
- Convert any X11 keyword directly into OKLCH to generate accessible light and dark mode ramps with consistent contrast.
- Use HEXA or RGBA outputs when layering named brand hues as translucent hover states or elevation overlays.
- Inspect Color Vision Deficiency previews to ensure named colors remain distinguishable for protanopia, deuteranopia, and tritanopia.
Frequently Asked Questions
How many X11 / CSS named colors exist?
There are 148 standard named colors (including aliases such as gray/grey and cyan/aqua, plus rebeccapurple added in CSS Color Level 4).
Are X11 color names case-sensitive?
No. Both browsers and Color Code Converter accept X11 keywords in any casing, such as MidnightBlue, MIDNIGHTBLUE, or midnightblue.
Can I convert an X11 color directly into OKLCH or LAB?
Yes. Enter any X11 color name in the input bar or pick one from the X11 Named Colors tab to view all 13 format equivalents simultaneously.