#272729
#646468
Charcoal Shale is a neutral and dark 2-colour linear gradient that runs from charcoal (#272729) to grey (#646468) 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 9.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #272729, #646468);
bg-[linear-gradient(160deg,#272729,#646468)]
{
"charcoal-shale": {
"value": "linear-gradient(160deg, #272729 0%, #646468 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let charcoalShaleGradient = LinearGradient(
colors: [
Color(red: 0.153, green: 0.153, blue: 0.161),
Color(red: 0.392, green: 0.392, blue: 0.408)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(charcoalShaleGradient)val charcoalShaleColors = listOf(Color(0xFF272729), Color(0xFF646468))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = charcoalShaleColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/charcoal-shale_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#272729"
android:endColor="#646468"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const charcoalShaleGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF272729), Color(0xFF646468)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: charcoalShaleGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#272729', '#646468']}
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="charcoal-shale" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#272729" />
<stop offset="100%" stop-color="#646468" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#charcoal-shale)" />
</svg>:root {
--charcoal-shale-1: #272729;
--charcoal-shale-2: #646468;
--charcoal-shale-angle: 160deg;
--charcoal-shale: linear-gradient(var(--charcoal-shale-angle), var(--charcoal-shale-1), var(--charcoal-shale-2));
}
.hero {
background: var(--charcoal-shale);
}$charcoal-shale-1: #272729;
$charcoal-shale-2: #646468;
$charcoal-shale: linear-gradient(160deg, $charcoal-shale-1, $charcoal-shale-2);
@mixin charcoal-shale-bg {
background: $charcoal-shale-1;
background: $charcoal-shale;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Charcoal | #272729 | rgb(39, 39, 41) | hsl(240, 3%, 16%) |
| 2 | Grey | #646468 | rgb(100, 100, 104) | hsl(240, 2%, 40%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Charcoal Shale gradient uses 2 colours: #272729 and #646468, at an angle of 160°.
Paste background: linear-gradient(160deg, #272729, #646468); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 9.5:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.