← All gradients
35%How it works
Curated

Gunmetal

#8D959D
#4B535B
#1D2227
Text readability
Curated NeutralDark

Gunmetal is a neutral and dark 3-colour linear gradient that runs from grey (#8D959D) through grey (#4B535B) to charcoal (#1D2227) at 160°. It suits subtle surfaces and app backgrounds and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 7.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #8D959D, #4B535B, #1D2227);
Tailwind
bg-[linear-gradient(160deg,#8D959D,#4B535B,#1D2227)]
Figma token
{
    "gunmetal": {
        "value": "linear-gradient(160deg, #8D959D 0%, #4B535B 50%, #1D2227 100%)",
        "type": "color"
    }
}

Gunmetal gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let gunmetalGradient = LinearGradient(
    colors: [
        Color(red: 0.553, green: 0.584, blue: 0.616),
        Color(red: 0.294, green: 0.325, blue: 0.357),
        Color(red: 0.114, green: 0.133, blue: 0.153)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(gunmetalGradient)

Colours in the Gunmetal gradient

StopNameHEXRGBHSL
1Grey#8D959Drgb(141, 149, 157)hsl(210, 8%, 58%)
2Grey#4B535Brgb(75, 83, 91)hsl(210, 10%, 33%)
3Charcoal#1D2227rgb(29, 34, 39)hsl(210, 15%, 13%)

Gunmetal gradient in use

Build something beautifulA hero section on the Gunmetal gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Gunmetal gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Gunmetal gradient?

The Gunmetal gradient uses 3 colours: #8D959D, #4B535B and #1D2227, at an angle of 160°.

How do I use the Gunmetal gradient in CSS?

Paste background: linear-gradient(160deg, #8D959D, #4B535B, #1D2227); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Gunmetal gradient?

White text has the best contrast, at 7.1:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.