silver — #C0C0C0
#C0C0C0
rgb(192, 192, 192) · hsl(0, 0%, 75%) · CSS keyword silver
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| silver on white | 1.82:1 | — | — |
| silver on black | 11.54:1 | AA | AA |
As a background, silver takes black text: 11.54:1 against 1.82:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: silver;
color: #c0c0c0;
color: rgb(192 192 192);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to silver
- lightsteelblue — #B0C4DE
- thistle — #D8BFD8
- lightgray — #D3D3D3
- tan — #D2B48C
- darkgray — #A9A9A9
- lightblue — #ADD8E6
Frequently asked questions
What is the hex code for silver?
The hex code for silver is #C0C0C0 — RGB 192, 192, 192.
Can I use silver for text?
Not on a white background. silver reaches only 1.82:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on silver be black or white?
Black — 11.54:1 against 1.82:1 the other way.
Other named colours
- skyblue — #87CEEB
- slateblue — #6A5ACD
- slategray — #708090
- snow — #FFFAFA
- springgreen — #00FF7F
- steelblue — #4682B4
- tan — #D2B48C
- teal — #008080
- thistle — #D8BFD8
- tomato — #FF6347
- turquoise — #40E0D0
- violet — #EE82EE
#C0C0C0 in full — tints, shades and harmonies · All named colours · Colour reference