CSS named color

Silver #C0C0C0

silver rgb(192, 192, 192)

Silver is a light gray with the hex code #C0C0C0, which converts to rgb(192, 192, 192). Open #C0C0C0 in the converter to tweak it.

Silver color values

HEX#C0C0C0
HEX (shorthand)—
RGBrgb(192, 192, 192)
RGBArgba(192, 192, 192, 1)
8-digit HEX#C0C0C0FF
HSLhsl(0, 0%, 75%)
HSV / HSB0°, 0%, 75%
CMYK0%, 0%, 0%, 25%
RGB 0–10.753, 0.753, 0.753
Decimal12632256
CSS keywordsilver

How #C0C0C0 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: C0 → 192, C0 → 192, C0 → 192. That gives rgb(192, 192, 192). The step-by-step guide explains the math.

Shades of Silver

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Silver

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Silver on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Silver has no hue (saturation is 0%), so hue-based harmonies collapse to the same gray. Grays pair with any accent color — pick one from the palette generator.

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Silver 1.81:1Fail
Black Silver 11.54:1AAA

Use black text on a silver background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Silver in CSS

.element {
  color: silver;                         /* keyword */
  background-color: #C0C0C0;            /* hex */
  border-color: rgb(192 192 192 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #C0C0C080 is Silver at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Silver?

The CSS named color silver is #C0C0C0 in hexadecimal. In CSS you can write color: silver; or color: #C0C0C0; — both produce the same pixel.

What is Silver in RGB?

Silver is rgb(192, 192, 192): red 192, green 192, blue 192 on the 0–255 scale. As normalized 0–1 floats that is (0.753, 0.753, 0.753).

Is white or black text more readable on Silver?

Black text is more readable. White on #C0C0C0 has a contrast ratio of 1.81:1 (Fail), black on #C0C0C0 has 11.54:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!