Shades of gray

From silver and platinum to slate and charcoal, with a code for every one.

Overview

Gray sits between black and white. On screens, any color with equal red, green and blue values is a neutral gray. Gray and grey are the same color: gray is the usual American spelling, grey the British one.

The CSS keyword gray is #808080, halfway between black and white in code values. Confusingly, the CSS name darkgray, #A9A9A9, is lighter than plain gray.

Most named grays are not perfectly neutral. A hint of blue makes them cool, like slate gray and blue-gray. A hint of brown or yellow makes them warm, like stone and cement.

gray#808080
HEX#808080
RGBrgb(128, 128, 128)
HSLhsl(0, 0%, 50%)
HSV0°, 0%, 50%
CMYK0, 0, 0, 50
OKLCHoklch(60.0% 0.000 89.9)
The CSS and HTML keyword gray, as the CSS color standard defines it. Every code converts from the HEX value; CMYK is a screen-based estimate.

Types of gray

Light grays

Pale grays close to white: platinum, gainsboro, light gray and silver.

Mid grays

Grays from the middle of the range: cement, heather gray, stone, dove gray and dim gray.

Cool grays

Grays with a blue tint: pewter, slate gray, blue-gray and Payne’s gray, named after the watercolor painter William Payne.

Dark grays

Grays close to black: feldgrau, German for “field gray”, dark slate gray, graphite, charcoal and gunmetal.

Warm and cool grays

Plain names like these have no single official code. Each card shows a typical value; click it to copy.

All 19 grays, light to dark

Shades of gray chart: all 19 named grays with their hex codes, light to dark, under the line “Not quite fifty shades of gray”
All 19 grays on one chart, with their hex codes.