Description
Whitesmoke (read as "white smoke") has a hue of 0°, saturation 0% and lightness 96%, which places it in the white family. Its strongest channel is red (245).
Using whitesmoke in CSS
.title { color: whitesmoke; }
.box { background: whitesmoke; border-color: #f5f5f5; }
.soft { background: rgb(245 245 245 / 20%); } /* whitesmoke 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 |
|---|---|---|---|
| white | #ffffff | 255, 255, 255 | 2 |
| snow | #fffafa | 255, 250, 250 | 2.7 |
| ghostwhite | #f8f8ff | 248, 248, 255 | 3.6 |
| aliceblue | #f0f8ff | 240, 248, 255 | 4.3 |
| floralwhite | #fffaf0 | 255, 250, 240 | 4.9 |
| seashell | #fff5ee | 255, 245, 238 | 5 |
| gainsboro | #dcdcdc | 220, 220, 220 | 5.4 |
| linen | #faf0e6 | 250, 240, 230 | 5.7 |
Δ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.09:1; with black text: 19.26:1. Black body text on whitesmoke meets WCAG AA; white text does not.