Description
Ghostwhite (read as "ghost white") has a hue of 240°, saturation 100% and lightness 99%, which places it in the blue family. Its strongest channel is blue (255).
Using ghostwhite in CSS
.title { color: ghostwhite; }
.box { background: ghostwhite; border-color: #f8f8ff; }
.soft { background: rgb(248 248 255 / 20%); } /* ghostwhite 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 |
|---|---|---|---|
| whitesmoke | #f5f5f5 | 245, 245, 245 | 3.6 |
| snow | #fffafa | 255, 250, 250 | 3.7 |
| white | #ffffff | 255, 255, 255 | 3.8 |
| aliceblue | #f0f8ff | 240, 248, 255 | 3.8 |
| lavenderblush | #fff0f5 | 255, 240, 245 | 6.4 |
| lavender | #e6e6fa | 230, 230, 250 | 6.5 |
| gainsboro | #dcdcdc | 220, 220, 220 | 7 |
| seashell | #fff5ee | 255, 245, 238 | 7.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.06:1; with black text: 19.86:1. Black body text on ghostwhite meets WCAG AA; white text does not.