#262B32
#4F535E
Pewter Ash is a neutral and dark 2-colour linear gradient that runs from charcoal (#262B32) to grey (#4F535E) 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 10.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #262B32, #4F535E);
bg-[linear-gradient(160deg,#262B32,#4F535E)]
{
"pewter-ash": {
"value": "linear-gradient(160deg, #262B32 0%, #4F535E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let pewterAshGradient = LinearGradient(
colors: [
Color(red: 0.149, green: 0.169, blue: 0.196),
Color(red: 0.31, green: 0.325, blue: 0.369)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(pewterAshGradient)val pewterAshColors = listOf(Color(0xFF262B32), Color(0xFF4F535E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = pewterAshColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/pewter-ash_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#262B32"
android:endColor="#4F535E"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const pewterAshGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF262B32), Color(0xFF4F535E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: pewterAshGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#262B32', '#4F535E']}
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="pewter-ash" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#262B32" />
<stop offset="100%" stop-color="#4F535E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#pewter-ash)" />
</svg>:root {
--pewter-ash-1: #262B32;
--pewter-ash-2: #4F535E;
--pewter-ash-angle: 160deg;
--pewter-ash: linear-gradient(var(--pewter-ash-angle), var(--pewter-ash-1), var(--pewter-ash-2));
}
.hero {
background: var(--pewter-ash);
}$pewter-ash-1: #262B32;
$pewter-ash-2: #4F535E;
$pewter-ash: linear-gradient(160deg, $pewter-ash-1, $pewter-ash-2);
@mixin pewter-ash-bg {
background: $pewter-ash-1;
background: $pewter-ash;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Charcoal | #262B32 | rgb(38, 43, 50) | hsl(215, 14%, 17%) |
| 2 | Grey | #4F535E | rgb(79, 83, 94) | hsl(224, 9%, 34%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Pewter Ash gradient uses 2 colours: #262B32 and #4F535E, at an angle of 160°.
Paste background: linear-gradient(160deg, #262B32, #4F535E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 10.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.