What this page does
These are the CSS color keywords. Each row is one keyword and the sRGB color it names. Hex, RGB, and HSL describe that color. OKLCH is the same sRGB color converted. OK is the name of the space, not a fifth component. The list does not include system colors such as Canvas or LinkText.
How to use this page
- Search by name or by a hex, RGB, HSL, or OKLCH value.
- Filter by a group: red, pink, orange, yellow, purple, green, blue, brown, white, or gray.
- Click the keyword or any value to copy it.
Questions
Does grey work as well as gray?
Yes. Seven names accept either spelling: gray, darkgray, lightgray, dimgray, slategray, lightslategray, and darkslategray. The grey spelling is the same color.
Why do some names share one hex?
Aqua and cyan are the same sRGB color. Fuchsia and magenta are the same sRGB color. Both keywords are valid in CSS.