Description
Lightgrey has a hue of 0°, saturation 0% and lightness 83%, which places it in the gray family. The "light" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080). It is identical to lightgray; both keywords produce #D3D3D3.
Using lightgrey in CSS
.title { color: lightgrey; }
.box { background: lightgrey; border-color: #d3d3d3; }
.soft { background: rgb(211 211 211 / 20%); } /* lightgrey at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| gainsboro | #dcdcdc | 220, 220, 220 | 2.1 |
| silver | #c0c0c0 | 192, 192, 192 | 4.7 |
| whitesmoke | #f5f5f5 | 245, 245, 245 | 7.5 |
| linen | #faf0e6 | 250, 240, 230 | 8.8 |
| ghostwhite | #f8f8ff | 248, 248, 255 | 8.9 |
| aliceblue | #f0f8ff | 240, 248, 255 | 8.9 |
| snow | #fffafa | 255, 250, 250 | 9 |
| seashell | #fff5ee | 255, 245, 238 | 9.3 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 1.50:1; with black text: 14.03:1. Black body text on lightgrey meets WCAG AA; white text does not.