Help Us Improve
—
(—)
Named colors with hex codes
Look up named colors and copy hex, RGB, HSL, and CMYK. Open shades, palettes, and a contrast check in the browser.
What is this color library?
What you can copy
Hex, RGB, HSL, and CMYK: The four codes are calculated from the page swatch. Copy hex from the top of the page, and RGB, HSL, or CMYK from the code cards.
Shades and tints: Ten steps toward black and ten toward white, using the same mix as the tint and shade generator. Open that tool with this hex already loaded.
Contrast grades: Each page reports the contrast ratio on white, on near-black, and with this color as the text. Continue in the contrast checker when you need another pair.
Sources
CSS Color Module Level 4, named colors: According to the W3C, CSS named colors have fixed sRGB values. Keyword pages in this library use those values. w3.org/TR/css-color-4/#named-colors
MDN named-color: According to MDN, the named-color list is closed. If a name is missing, the library page says so and prints a hex. developer.mozilla.org/en-US/docs/Web/CSS/named-color