#7B3F00
#4A2511
#1E0F06
Chocolate is a warm and dark 3-colour linear gradient that runs from deep orange (#7B3F00) through deep orange (#4A2511) to near-black (#1E0F06) at 160°. It suits hero sections and call-to-action buttons and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 13.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #7B3F00, #4A2511, #1E0F06);
bg-[linear-gradient(160deg,#7B3F00,#4A2511,#1E0F06)]
{
"chocolate": {
"value": "linear-gradient(160deg, #7B3F00 0%, #4A2511 50%, #1E0F06 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let chocolateGradient = LinearGradient(
colors: [
Color(red: 0.482, green: 0.247, blue: 0),
Color(red: 0.29, green: 0.145, blue: 0.067),
Color(red: 0.118, green: 0.059, blue: 0.024)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(chocolateGradient)val chocolateColors = listOf(Color(0xFF7B3F00), Color(0xFF4A2511), Color(0xFF1E0F06))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = chocolateColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/chocolate_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#7B3F00"
android:centerColor="#4A2511"
android:endColor="#1E0F06"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const chocolateGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF7B3F00), Color(0xFF4A2511), Color(0xFF1E0F06)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: chocolateGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#7B3F00', '#4A2511', '#1E0F06']}
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="chocolate" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#7B3F00" />
<stop offset="50%" stop-color="#4A2511" />
<stop offset="100%" stop-color="#1E0F06" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#chocolate)" />
</svg>:root {
--chocolate-1: #7B3F00;
--chocolate-2: #4A2511;
--chocolate-3: #1E0F06;
--chocolate-angle: 160deg;
--chocolate: linear-gradient(var(--chocolate-angle), var(--chocolate-1), var(--chocolate-2), var(--chocolate-3));
}
.hero {
background: var(--chocolate);
}$chocolate-1: #7B3F00;
$chocolate-2: #4A2511;
$chocolate-3: #1E0F06;
$chocolate: linear-gradient(160deg, $chocolate-1, $chocolate-2, $chocolate-3);
@mixin chocolate-bg {
background: $chocolate-1;
background: $chocolate;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep orange | #7B3F00 | rgb(123, 63, 0) | hsl(31, 100%, 24%) |
| 2 | Deep orange | #4A2511 | rgb(74, 37, 17) | hsl(21, 63%, 18%) |
| 3 | Near-black | #1E0F06 | rgb(30, 15, 6) | hsl(23, 67%, 7%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Chocolate gradient uses 3 colours: #7B3F00, #4A2511 and #1E0F06, at an angle of 160°.
Paste background: linear-gradient(160deg, #7B3F00, #4A2511, #1E0F06); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 13.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.