#8D959D
#4B535B
#1D2227
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 →
background: linear-gradient(160deg, #8D959D, #4B535B, #1D2227);
bg-[linear-gradient(160deg,#8D959D,#4B535B,#1D2227)]
{
"gunmetal": {
"value": "linear-gradient(160deg, #8D959D 0%, #4B535B 50%, #1D2227 100%)",
"type": "color"
}
}
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)val gunmetalColors = listOf(Color(0xFF8D959D), Color(0xFF4B535B), Color(0xFF1D2227))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = gunmetalColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/gunmetal_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#8D959D"
android:centerColor="#4B535B"
android:endColor="#1D2227"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const gunmetalGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF8D959D), Color(0xFF4B535B), Color(0xFF1D2227)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: gunmetalGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#8D959D', '#4B535B', '#1D2227']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="gunmetal" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#8D959D" />
<stop offset="50%" stop-color="#4B535B" />
<stop offset="100%" stop-color="#1D2227" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gunmetal)" />
</svg>:root {
--gunmetal-1: #8D959D;
--gunmetal-2: #4B535B;
--gunmetal-3: #1D2227;
--gunmetal-angle: 160deg;
--gunmetal: linear-gradient(var(--gunmetal-angle), var(--gunmetal-1), var(--gunmetal-2), var(--gunmetal-3));
}
.hero {
background: var(--gunmetal);
}$gunmetal-1: #8D959D;
$gunmetal-2: #4B535B;
$gunmetal-3: #1D2227;
$gunmetal: linear-gradient(160deg, $gunmetal-1, $gunmetal-2, $gunmetal-3);
@mixin gunmetal-bg {
background: $gunmetal-1;
background: $gunmetal;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Grey | #8D959D | rgb(141, 149, 157) | hsl(210, 8%, 58%) |
| 2 | Grey | #4B535B | rgb(75, 83, 91) | hsl(210, 10%, 33%) |
| 3 | Charcoal | #1D2227 | rgb(29, 34, 39) | hsl(210, 15%, 13%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Gunmetal gradient uses 3 colours: #8D959D, #4B535B and #1D2227, at an angle of 160°.
Paste background: linear-gradient(160deg, #8D959D, #4B535B, #1D2227); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
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.