Description
Silver has a hue of 0°, saturation 0% and lightness 75%, which places it in the gray family. Its strongest channel is red (192).
Using silver in CSS
.title { color: silver; }
.box { background: silver; border-color: #c0c0c0; }
.soft { background: rgb(192 192 192 / 20%); } /* silver 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 |
|---|---|---|---|
| lightgray | #d3d3d3 | 211, 211, 211 | 4.7 |
| darkgray | #a9a9a9 | 169, 169, 169 | 6.3 |
| gainsboro | #dcdcdc | 220, 220, 220 | 6.8 |
| lightsteelblue | #b0c4de | 176, 196, 222 | 11.4 |
| whitesmoke | #f5f5f5 | 245, 245, 245 | 12.1 |
| linen | #faf0e6 | 250, 240, 230 | 12.7 |
| lavender | #e6e6fa | 230, 230, 250 | 12.9 |
| aliceblue | #f0f8ff | 240, 248, 255 | 13.2 |
Δ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.82:1; with black text: 11.54:1. Black body text on silver meets WCAG AA; white text does not.