CSS Color Names
CSS supports 140 named colors, from classics like red, blue, and green to more exotic names like cornsilk, rebeccapurple, and papayawhip. Color names are case-insensitive — Red, red, and RED are all identical.
When to Use Named Colors
Named colors are great for quick prototyping and learning, but for production sites prefer hex, RGB, or HSL values — they give you precise control and access to millions of colors, not just 140. However, a handful of named colors like transparent and currentColor are special values with unique behaviour: currentColor inherits the element's color property, making it very useful for SVG and border styling.