#4A4E55
#1E2024
#050506
Black Marble is a neutral and dark 3-colour linear gradient that runs from grey (#4A4E55) through charcoal (#1E2024) to near-black (#050506) 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.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #4A4E55, #1E2024, #050506);
bg-[linear-gradient(160deg,#4A4E55,#1E2024,#050506)]
{
"black-marble": {
"value": "linear-gradient(160deg, #4A4E55 0%, #1E2024 50%, #050506 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let blackMarbleGradient = LinearGradient(
colors: [
Color(red: 0.29, green: 0.306, blue: 0.333),
Color(red: 0.118, green: 0.125, blue: 0.141),
Color(red: 0.02, green: 0.02, blue: 0.024)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(blackMarbleGradient)val blackMarbleColors = listOf(Color(0xFF4A4E55), Color(0xFF1E2024), Color(0xFF050506))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = blackMarbleColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/black-marble_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#4A4E55"
android:centerColor="#1E2024"
android:endColor="#050506"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const blackMarbleGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF4A4E55), Color(0xFF1E2024), Color(0xFF050506)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: blackMarbleGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#4A4E55', '#1E2024', '#050506']}
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="black-marble" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#4A4E55" />
<stop offset="50%" stop-color="#1E2024" />
<stop offset="100%" stop-color="#050506" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#black-marble)" />
</svg>:root {
--black-marble-1: #4A4E55;
--black-marble-2: #1E2024;
--black-marble-3: #050506;
--black-marble-angle: 160deg;
--black-marble: linear-gradient(var(--black-marble-angle), var(--black-marble-1), var(--black-marble-2), var(--black-marble-3));
}
.hero {
background: var(--black-marble);
}$black-marble-1: #4A4E55;
$black-marble-2: #1E2024;
$black-marble-3: #050506;
$black-marble: linear-gradient(160deg, $black-marble-1, $black-marble-2, $black-marble-3);
@mixin black-marble-bg {
background: $black-marble-1;
background: $black-marble;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Grey | #4A4E55 | rgb(74, 78, 85) | hsl(218, 7%, 31%) |
| 2 | Charcoal | #1E2024 | rgb(30, 32, 36) | hsl(220, 9%, 13%) |
| 3 | Near-black | #050506 | rgb(5, 5, 6) | hsl(240, 9%, 2%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Black Marble gradient uses 3 colours: #4A4E55, #1E2024 and #050506, at an angle of 160°.
Paste background: linear-gradient(160deg, #4A4E55, #1E2024, #050506); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 15.1:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.