Shades of white, with their names
A white is never just white. Next to pure white (#FFFFFF), every other white has an undertone, and the HSL column of the table shows it: snow leans pink (hue 0°), ghost white leans blue (240°), mint cream leans green (150°), ivory and antique white lean yellow. Here are ten named whites with their HEX, RGB and HSL values. The generator above draws a few of them and lines them up from brightest to dimmest.
Each draw moves every shade slightly around its reference code, so the palette stays white but never repeats the exact values. Tap a swatch to copy its HEX code. Holding two whites side by side is the quickest way to see their undertones: pure white makes ivory look yellow, and ivory makes eggshell look gray.
On screen, pure white against pure black gives the highest possible contrast, 21. Softer whites trade a little of it for comfort: pearl still reaches 16.0 with black text, far above the WCAG threshold of 4.5. White text, of course, disappears on all of them. Many designers use off-white or ivory as a page background instead of pure white to cut glare on bright screens.
Snow, ghost white, mint cream, ivory, seashell and antique white are all CSS color keywords, so you can type them straight into a stylesheet. Off-white, eggshell and pearl come from paint and textiles rather than the web. For warmer neutrals, see the shades of beige; for the other end of the scale, the shades of gray.