All 148 CSS named colors

CSS defines 148 named colors — keywords such as rebeccapurple, chartreuse, and lightgoldenrodyellow — each mapping to one exact sRGB value. Every entry below lists its hex code, RGB and HSL values, WCAG contrast on black and white, and a nine-step tint-and-shade ramp.

Grouped by hue. Names are case-insensitive in CSS: RebeccaPurple and rebeccapurple are the same color.

Light / white (23)

Grays (11)

Red / pink (21)

Orange / brown (18)

Yellow / olive (3)

Green (20)

Cyan / teal (16)

Blue (19)

Purple / violet (17)