#4A4D52
#222427
#0A0A0B
Carbon Fiber is a neutral and dark 3-colour linear gradient that runs from grey (#4A4D52) through charcoal (#222427) to near-black (#0A0A0B) at 135°. It suits subtle surfaces and app backgrounds and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 14.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #4A4D52, #222427, #0A0A0B);
bg-gradient-to-br from-[#4A4D52] via-[#222427] to-[#0A0A0B]
{
"carbon-fiber": {
"value": "linear-gradient(135deg, #4A4D52 0%, #222427 50%, #0A0A0B 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let carbonFiberGradient = LinearGradient(
colors: [
Color(red: 0.29, green: 0.302, blue: 0.322),
Color(red: 0.133, green: 0.141, blue: 0.153),
Color(red: 0.039, green: 0.039, blue: 0.043)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(carbonFiberGradient)val carbonFiberColors = listOf(Color(0xFF4A4D52), Color(0xFF222427), Color(0xFF0A0A0B))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = carbonFiberColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/carbon-fiber_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#4A4D52"
android:centerColor="#222427"
android:endColor="#0A0A0B"
android:type="linear" />
</shape>const carbonFiberGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF4A4D52), Color(0xFF222427), Color(0xFF0A0A0B)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: carbonFiberGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#4A4D52', '#222427', '#0A0A0B']}
start={{ x: 0, y: 0 }}
end={{ x: 1, 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="carbon-fiber" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#4A4D52" />
<stop offset="50%" stop-color="#222427" />
<stop offset="100%" stop-color="#0A0A0B" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#carbon-fiber)" />
</svg>:root {
--carbon-fiber-1: #4A4D52;
--carbon-fiber-2: #222427;
--carbon-fiber-3: #0A0A0B;
--carbon-fiber-angle: 135deg;
--carbon-fiber: linear-gradient(var(--carbon-fiber-angle), var(--carbon-fiber-1), var(--carbon-fiber-2), var(--carbon-fiber-3));
}
.hero {
background: var(--carbon-fiber);
}$carbon-fiber-1: #4A4D52;
$carbon-fiber-2: #222427;
$carbon-fiber-3: #0A0A0B;
$carbon-fiber: linear-gradient(135deg, $carbon-fiber-1, $carbon-fiber-2, $carbon-fiber-3);
@mixin carbon-fiber-bg {
background: $carbon-fiber-1;
background: $carbon-fiber;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Grey | #4A4D52 | rgb(74, 77, 82) | hsl(218, 5%, 31%) |
| 2 | Charcoal | #222427 | rgb(34, 36, 39) | hsl(216, 7%, 14%) |
| 3 | Near-black | #0A0A0B | rgb(10, 10, 11) | hsl(240, 5%, 4%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Carbon Fiber gradient uses 3 colours: #4A4D52, #222427 and #0A0A0B, at an angle of 135°.
Paste background: linear-gradient(135deg, #4A4D52, #222427, #0A0A0B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 14.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.