CSS named colour
Silver
#c0c0c0
A CSS named colour: silver is valid anywhere a colour is expected.
- RGB
- rgb(192 192 192)
- HSL
- 0°, 0%, 75%
- OKLCh
- 80.8% 0.000 0.0
Silver in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #c0c0c0 | |
|---|---|---|
| RGB | rgb(192 192 192) | |
| RGB legacy | rgb(192, 192, 192) | |
| RGB percent | rgb(75.29% 75.29% 75.29%) | |
| HSL | hsl(180 0% 75.3%) | |
| HSL legacy | hsl(180, 0%, 75.3%) | |
| HSV / HSB | hsv(180, 0%, 75.3%) | |
| HWB | hwb(180 75.3% 24.7%) | |
| Nearest name | silver | |
| CMYK | cmyk(0%, 0%, 0%, 24.7%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(80.78% 0 0)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(80.78% 0 0) | |
| CIE LCh | lch(77.704% 0 139.088) | |
| CIE Lab | lab(77.704% 0 0) | |
| Display P3 | color(display-p3 0.7529 0.7529 0.7529) | |
| Rec. 2020 | color(rec2020 0.7248 0.7248 0.7248) | |
| srgb-linear | color(srgb-linear 0.5271 0.5271 0.5271)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.501 0.5271 0.5741) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.753)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.527)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.753, 0.753, 0.753, 1.0) | |
| GLSL vec4 — linear | vec4(0.527, 0.527, 0.527, 1.0) | |
| GLSL ivec3 | ivec3(192, 192, 192) | |
| HLSL float3 — sRGB | float3(0.753) | |
| HLSL float3 — linear | float3(0.527) | |
| HLSL float4 — sRGB | float4(0.753, 0.753, 0.753, 1.0) | |
| HLSL half4 — sRGB | half4(0.753, 0.753, 0.753, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.753) | |
| WGSL vec4f — sRGB | vec4f(0.753, 0.753, 0.753, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.527, 0.527, 0.527) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.753f, 0.753f, 0.753f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(192, 192, 192, 255) | |
| Unreal FLinearColor | FLinearColor(0.5271f, 0.5271f, 0.5271f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(192, 192, 192, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.753, 0.753, 0.753, 1) | |
| Flutter Color | Color(0xFFC0C0C0)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(192, 192, 192) | |
| SwiftUI Color | Color(red: 0.753, green: 0.753, blue: 0.753) | |
| UIKit UIColor | UIColor(red: 0.753, green: 0.753, blue: 0.753, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xC0C0C0 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFC0C0C0 | |
| Array 0–1 | [0.753, 0.753, 0.753] | |
| Array 0–255 | [192, 192, 192] | |
| Decimal integer | 12632256 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Silver on white | 1.82:1 | Fail | Lc 34 | Non-text elements only |
| Silver on black | 11.54:1 | AAA | Lc 69 | Headings and large text |
Silver text on a white background
Silver text on a black background
White text on Silver
Black text on Silver
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f7f7f7
- 100#ededed
- 200#dcdcdc
- 300#c5c5c5
- 400#a9a9a9
- 500#8b8b8b
- 600#717171
- 700#5b5b5b
- 800#484848
- 900#383838
- 950#1f1f1f
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#cacaca
- Tint 2#d5d5d5
- Tint 3#dfdfdf
- Tint 4#eaeaea
- Tint 5#f4f4f4
- Shade 1#969696
- Shade 2#6e6e6e
- Shade 3#494949
- Shade 4#262626
- Shade 5#080808
Colours that work with Silver
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #c0c0c0
- #c0c0c0
- #c0c0c0
- #c0c0c0
- #c0c0c0
Closest CSS names
silverexact matchlightsteelblueΔEok 0.043thistleΔEok 0.051lightgrayΔEok 0.059tanΔEok 0.067lightblueΔEok 0.069