Silver hex code
#C0C0C0
The hex code for silver is #C0C0C0, which is RGB 192, 192, 192. It is the CSS color silver and one of the 16 original HTML colors. It is a flat light gray, so for a metallic look designers often use #AAA9AD or a gradient.
Click a value to copy it. Move the slider to try a lighter or darker version; the code samples further down follow it.
Runs in your browser. Nothing you type is uploaded.
Silver color codes
These are all the same silver, written for different tools. Web and app design use HEX, RGB and HSL, print uses CMYK, and CIE Lab and LCH describe the color the way the eye sees it. Click any code in the tool above to copy it.
| Format | Value |
|---|---|
| HEX | #C0C0C0 |
| RGB | rgb(192, 192, 192) |
| HSL | hsl(0, 0%, 75%) |
| HSV | hsv(0, 0%, 75%) |
| CMYK | 0, 0, 0, 25 |
| CIE Lab | 77.7, 0.0, -0.0 |
| LCH | 77.7, 0.0, 296.8 |
| Decimal | 12,632,256 |
| Binary | 11000000 11000000 11000000 |
| CSS color name | silver |

To turn any other code into these values, paste it into the hex to RGB converter.
Which silver hex code should you use?
Different color sites give different codes for silver. These are the four you are most likely to run into, where each one comes from and how they differ.
silver, used by Wikipedia, HTMLColorCodes and color-hex.comA neutral light gray.#C0C0C0 is the standard. It has been an HTML color name since the first 16 web colors, so every browser agrees on it. No flat color can show shine, though. Real silver reflects light, so it shows bright highlights and dark areas at the same time. A gradient such as #F5F5F5 to #C0C0C0 to #8A8A8A gets much closer than any single code.
Measured as CIE76 color distance from #C0C0C0, #AAA9AD is 8.6, #C4C4C4 is 1.5 and #D8DBDE is 9.7. A distance under about 2.3 is hard to see, so all of these are visibly different from the main code. Codes checked on November 7, 2026.
Shades of silver
Grays and silvers with established names. The ones marked CSS work as color names in any stylesheet.
silvergainsborolightgraydarkgraygraylightslategrayLight silver and dark silver
Each step mixes silver with 10 percent more white (tints) or black (shades), so the hue stays the same. Click a step to copy it.
Colors that go with silver
Silver is a neutral, so it goes with almost anything. It looks most deliberate next to deep jewel tones, or next to gold when the two metals are meant to be seen together.
Why there are no color wheel matches
#C0C0C0 has no hue: red, green and blue are equal, so it sits in the middle of the color wheel instead of on its edge. Complementary and triadic matches do not exist for a gray, which is one reason silver sits well next to most colors.
Silver color palettes
Three palettes built around silver, each with a light color for backgrounds and a dark one for text. Click a palette to copy all five codes.
How to make silver
On a screen
Silver has red, green and blue all at 192, about 75 percent. Equal channels always make a neutral gray, and the level sets how light it is. Add a few points of blue and it turns cool, like #D8DBDE. Remove a few and it warms toward platinum.
With paint
Flat silver is white with a little black, so it is a light gray. For the metal look you need metallic paint with aluminum or mica flakes, because a mixed gray cannot reflect light.
Is text readable on silver?
WCAG asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text, which means 24px, or 19px bold. Black text on #C0C0C0 is the readable choice.
| Pairing | Contrast | Normal text | Large text |
|---|---|---|---|
| White text on silver | 1.82:1 | Fails | Fails |
| Black text on silver | 11.54:1 | Passes | Passes |
How silver looks with color blindness
Silver looks the same with every type of color blindness, because a gray has no hue to lose. These are approximate simulations using the Machado matrices for full color blindness. Color blindness affects about 1 in 12 men and 1 in 200 women, mostly the red-green types, so do not use silver as the only signal for something like an error or a selected state.
Silver in binary
A hex code is three bytes, one each for red, green and blue. Each pair of hex digits is one byte, and each byte is 8 bits. This is how #C0C0C0 is stored:
| Channel | Hex | Decimal | Binary | Bits that are on |
|---|---|---|---|---|
| Red | C0 | 192 | 11000000 | 128 + 64 |
| Green | C0 | 192 | 11000000 | 128 + 64 |
| Blue | C0 | 192 | 11000000 | 128 + 64 |
Joined together that is 110000001100000011000000, a 24-bit number equal to 12,632,256 in decimal. The hex to binary converter does the same for any hex value.
Silver in CSS and code
Copy the version for your stack. The tool above updates these if you change the lightness.
/* CSS */
:root { --silver: #C0C0C0; }
.button { background: var(--silver); color: #1F1D1A; }
<!-- Tailwind -->
<button class="bg-[#C0C0C0] text-[#1F1D1A]">Button</button>
// SwiftUI
Color(red: 0.753, green: 0.753, blue: 0.753)
<!-- Android colors.xml -->
<color name="silver">#C0C0C0</color>
# Python
silver = (192, 192, 192)
Silver color meaning
Silver suggests technology, precision and polish, which is why it is common for electronics, cars and premium products. It is also the color of second place and of 25th wedding anniversaries.
Where the name comes from
Wikipedia says silver was first recorded as a color name in English in 1481, after the metal. On the web it is one of the 16 color names in the original HTML specification, along with colors like navy, teal and maroon.
Frequently asked questions
What is the hex code for silver?
The silver hex code is #C0C0C0, RGB 192, 192, 192. It is the CSS and HTML color name silver.
What is the hex code for metallic silver?
#AAA9AD, RGB 170, 169, 173, is the usual metallic silver. For a shiny look, use it in a gradient with a lighter gray such as #F5F5F5.
What is the RGB code for silver?
RGB 192, 192, 192. Equal red, green and blue values make it a pure gray.
What is the CMYK code for silver?
For #C0C0C0 it is 0, 0, 0, 25. In print, real silver is usually a metallic ink or foil, since CMYK cannot reproduce shine.
Is silver the same as gray?
On a screen, yes: #C0C0C0 is a light gray. CSS also has gray #808080 and darkgray #A9A9A9, which, oddly, is lighter than gray.
What color text goes on silver?
Dark text. Black on #C0C0C0 has a contrast ratio of 11.54 to 1. White on it is 1.82 to 1, which fails WCAG.