#5A4636
#2A1F18
#0B0806
Ebony is a neutral and dark 3-colour linear gradient that runs from charcoal (#5A4636) through charcoal (#2A1F18) to near-black (#0B0806) 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 15.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #5A4636, #2A1F18, #0B0806);
bg-[linear-gradient(160deg,#5A4636,#2A1F18,#0B0806)]
{
"ebony": {
"value": "linear-gradient(160deg, #5A4636 0%, #2A1F18 50%, #0B0806 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let ebonyGradient = LinearGradient(
colors: [
Color(red: 0.353, green: 0.275, blue: 0.212),
Color(red: 0.165, green: 0.122, blue: 0.094),
Color(red: 0.043, green: 0.031, blue: 0.024)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(ebonyGradient)val ebonyColors = listOf(Color(0xFF5A4636), Color(0xFF2A1F18), Color(0xFF0B0806))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = ebonyColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/ebony_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#5A4636"
android:centerColor="#2A1F18"
android:endColor="#0B0806"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const ebonyGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF5A4636), Color(0xFF2A1F18), Color(0xFF0B0806)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: ebonyGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#5A4636', '#2A1F18', '#0B0806']}
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="ebony" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#5A4636" />
<stop offset="50%" stop-color="#2A1F18" />
<stop offset="100%" stop-color="#0B0806" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#ebony)" />
</svg>:root {
--ebony-1: #5A4636;
--ebony-2: #2A1F18;
--ebony-3: #0B0806;
--ebony-angle: 160deg;
--ebony: linear-gradient(var(--ebony-angle), var(--ebony-1), var(--ebony-2), var(--ebony-3));
}
.hero {
background: var(--ebony);
}$ebony-1: #5A4636;
$ebony-2: #2A1F18;
$ebony-3: #0B0806;
$ebony: linear-gradient(160deg, $ebony-1, $ebony-2, $ebony-3);
@mixin ebony-bg {
background: $ebony-1;
background: $ebony;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Charcoal | #5A4636 | rgb(90, 70, 54) | hsl(27, 25%, 28%) |
| 2 | Charcoal | #2A1F18 | rgb(42, 31, 24) | hsl(23, 27%, 13%) |
| 3 | Near-black | #0B0806 | rgb(11, 8, 6) | hsl(24, 29%, 3%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Ebony gradient uses 3 colours: #5A4636, #2A1F18 and #0B0806, at an angle of 160°.
Paste background: linear-gradient(160deg, #5A4636, #2A1F18, #0B0806); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 15.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.