About silver
A light gray used on screens to suggest the metal. This is the CSS silver. Its hex code is #C0C0C0, which is rgb(192, 192, 192): 192 red, 192 green and 192 blue on a scale of 0 to 255.
Silver is a neutral color, so it pairs easily with almost anything.
Silver tints and shades
Lighter tints (mixed with white) and darker shades (mixed with black) of silver. Click any of them to copy its hex code.
Colors that go with silver
Because silver is a neutral, it works with nearly any color. Bold accents stand out against it, and the tints and shades above give you a matching set of grays.
Popular accents
Text on silver
White text
Black text
For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on silver. Test other combinations with the contrast checker.
Using silver in CSS
.element {
color: #C0C0C0;
background-color: rgb(192 192 192);
border-color: hsl(0 0% 75%);
}
Frequently asked questions
What is the hex code for silver?
Silver is #C0C0C0. In RGB it's rgb(192, 192, 192), and in HSL it's hsl(0, 0%, 75%).
What colors go with silver?
As a neutral, silver goes with almost any color. Silver also pairs well with charcoal or black.
Is silver warm or cool?
Silver is a neutral color, so it pairs easily with almost anything.
Should I use white or black text on silver?
Use black text. Its contrast ratio on silver is 11.54:1, versus 1.81:1 for white.
Similar colors
- Gray#808080rgb(128, 128, 128)
- White#FFFFFFrgb(255, 255, 255)
- Black#000000rgb(0, 0, 0)
- Lilac#C8A2C8rgb(200, 162, 200)
- Sage green#9CAF88rgb(156, 175, 136)
- Khaki#C3B091rgb(195, 176, 145)
See all popular colors · All HTML color names · Open silver in the color picker