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