
The silver hex code is #C0C0C0. It is the official CSS color named silver: a neutral light gray with equal amounts of red, green and blue.
There is one catch. On a screen, a flat #C0C0C0 looks like plain light gray, not shiny metal. Real silver looks metallic because of reflections: bright highlights next to darker areas. This guide gives you the exact silver codes, 17 silver shades, and a CSS gradient that recreates that metallic shine.
Silver color codes
| Format | Value |
|---|---|
| HEX | #C0C0C0 |
| RGB | rgb(192, 192, 192) |
| HSL | hsl(0, 0%, 75%) |
| CMYK (approx.) | 0, 0, 0, 25 |
| CSS name | silver |
Because red, green and blue are equal, silver has no hue and 0% saturation. Its HSL lightness is 75%, which places it between light gray and medium gray.
The CMYK value is a simple conversion. In print, a true metallic silver needs a special metallic ink or foil; CMYK inks can only print a flat gray.
Shades of silver
Neutral silvers and grays (official CSS names)
| Name | Hex | RGB |
|---|---|---|
| WhiteSmoke | #F5F5F5 | 245, 245, 245 |
| Gainsboro | #DCDCDC | 220, 220, 220 |
| LightGray | #D3D3D3 | 211, 211, 211 |
| Silver | #C0C0C0 | 192, 192, 192 |
| DarkGray | #A9A9A9 | 169, 169, 169 |
| Gray | #808080 | 128, 128, 128 |
A well-known CSS quirk: DarkGray (#A9A9A9) is lighter than Gray (#808080). The names come from an older color system, so trust the hex code, not the name.
Cool silvers (blue-tinted)
| Hex | RGB | Note |
|---|---|---|
| #E9EBEC | 233, 235, 236 | Very pale, almost white |
| #D8DBDE | 216, 219, 222 | Light cool silver |
| #C8CCD0 | 200, 204, 208 | Classic “steel” silver |
| #ACB2B9 | 172, 178, 185 | Medium cool silver |
| #9FA6AD | 159, 166, 173 | Brushed aluminum feel |
| #9199A1 | 145, 153, 161 | Darker cool silver |
| #778899 | 119, 136, 153 | CSS LightSlateGray |
| #708090 | 112, 128, 144 | CSS SlateGray |
Warm silvers (slightly beige)
| Hex | RGB | Note |
|---|---|---|
| #E3E1DE | 227, 225, 222 | Pale warm silver |
| #D0CDC8 | 208, 205, 200 | Soft champagne-silver |
| #BDBAB2 | 189, 186, 178 | Warm pewter-like silver |
Cool silvers feel modern and technical; warm silvers feel softer and pair well with gold, wood and cream.
Make silver look metallic with a CSS gradient
A flat color can’t shine, but a gradient can fake reflections. The trick is to place a bright band next to darker bands, just like light hitting curved metal.
The gradient code
Copy this into your CSS:
.silver-metal {
background: linear-gradient(135deg,
#8E8E8E 0%,
#E6E6E6 45%,
#FFFFFF 50%,
#BFBFBF 55%,
#7A7A7A 100%);
}
How it works: the dark gray at each end acts as shadow, #E6E6E6 and #FFFFFF form a bright highlight in the middle, and #BFBFBF steps back down. The 45–55% band is narrow, which makes the highlight look like a sharp reflection.
Adjusting the shine
- Softer, brushed look: widen the highlight band (for example 35%, 50%, 65%).
- Cooler, steel look: replace the grays with cool silvers such as #9199A1, #D8DBDE and #ACB2B9.
- Different direction: change 135deg to 90deg for a horizontal sheen or 180deg for a vertical one.
- Metallic text: apply the same gradient to text with background-clip: text and color: transparent, and keep the text large and bold so it stays readable.
Want to learn how gradient stops and angles work? Our CSS gradients guide explains each part.
Text on silver backgrounds
Silver is too light for white text. White on #C0C0C0 scores only 1.82:1, far below the 4.5:1 WCAG asks for normal text. Use dark text instead:
| Text color | On #C0C0C0 | Verdict |
|---|---|---|
| Near-black #111111 | 10.38:1 | Passes easily |
| Navy #000080 | 8.80:1 | Passes easily |
| Charcoal blue #1C2833 | 8.24:1 | Passes easily |
| Burgundy #800020 | 5.95:1 | Passes for normal text |
| White #FFFFFF | 1.82:1 | Fails — don’t use |
The darker gray shades are tricky. Gray (#808080) gives 3.95:1 with white and 4.78:1 with near-black, so only dark text passes for normal-size type.
Colors that go with silver
Silver is neutral, so it pairs with almost anything. These four palettes show different moods, with every text pairing checked.
1. Silver and navy (classic, trustworthy)
| Role | Hex |
|---|---|
| Background | #F5F5F5 |
| Panels, dividers | #C0C0C0 |
| Headings, buttons | #000080 |
Navy on silver scores 8.80:1. A timeless combination for finance, law and corporate sites.
2. Silver and burgundy (elegant)
| Role | Hex |
|---|---|
| Background | #F5F5F5 |
| Panels | #C0C0C0 |
| Accent, headings | #800020 |
Burgundy on silver scores 5.95:1. Works well for weddings, wine and luxury products.
3. Cool tech silver
| Role | Hex |
|---|---|
| Background | #E9EBEC |
| Cards | #C8CCD0 |
| Text | #1C2833 |
The cool tints and charcoal-blue text feel modern and technical, ideal for apps and electronics.
4. Warm silver and slate
| Role | Hex |
|---|---|
| Background | #F5F5F5 |
| Panels | #E3E1DE |
| Text | #4A4A4A |
Gray #4A4A4A text on #F5F5F5 scores 8.13:1. Soft and calm for home, spa and lifestyle brands.
For more pairing ideas with neutral grays, our gray combinations guide shows tested options.
Silver vs gray: what’s the difference?
On a screen, silver and gray are both neutral colors with R = G = B. The difference is mostly lightness and context:
| Silver | Gray | |
|---|---|---|
| CSS value | #C0C0C0 | #808080 |
| HSL lightness | 75% | 50% |
| Feel | Light, polished, “metal” | Medium, neutral, plain |
| Real-world look | Shiny, reflective | Flat |
In physical products and print, silver means a reflective metallic finish. On screens, you recreate that with gradients, highlights and shadows, as shown above.
Where silver works well
- Tech and electronics brands: cool silvers echo aluminum devices.
- Awards, badges and “silver tier” plans: pair with gold and bronze for a clear ranking.
- Weddings and anniversaries: silver with white, blush or navy.
- Website dividers, borders and disabled states: light silver keeps them visible but quiet.
- Holiday designs: silver with deep green, burgundy or blue.
Common mistakes with silver
- Expecting #C0C0C0 to look metallic. A flat color looks like gray. Fix: use a gradient with a bright highlight band.
- White text on silver. It fails contrast (1.82:1). Fix: use dark text such as #111111, navy or charcoal.
- Trusting the name DarkGray. It is lighter than Gray. Fix: always choose by hex code.
- Using silver for important text. Silver text on white scores only 1.82:1. Fix: use silver for borders and backgrounds, not text.
- Printing silver with CMYK and expecting shine. Fix: ask your printer about metallic ink or foil.
FAQ
What is the hex code for silver?
The CSS color silver is #C0C0C0, which is rgb(192, 192, 192).
What is the hex code for metallic silver?
There is no single official “metallic silver” hex code, because a metallic look comes from highlights and shadows, not one color. Use a gradient such as the one in this guide.
Is silver the same as gray?
On screens, both are neutral grays. Silver (#C0C0C0) is lighter than CSS gray (#808080) and is usually styled to look metallic.
What colors go with silver?
Navy, burgundy, black, white, deep green, blush pink and gold all pair well. See the tested palettes above.
Can I use silver text on a white background?
Not for readable text. Silver on white scores only 1.82:1. Use silver for decoration and choose a darker gray, such as #4A4A4A, for text.
Use silver the right way
Use #C0C0C0 for the standard silver, pick a cool or warm silver from the tables for a more specific feel, and add a gradient whenever you want real shine. Keep text dark and check contrast before you publish.
Silver Gradient Color Code
A metallic silver look comes from blending light and mid grays. Copy this silver gradient color code into your CSS:
background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 35%, #A8A8A8 55%, #E0E0E0 100%);
For a darker steel effect, use #D3D3D3, #8E8E8E and #5F5F5F. You can tweak the stops with our gradient generator.