#03071E
#370617
#6A040F
Halloween Midnight Bats is a warm and dark 3-colour linear gradient that runs from near-black (#03071E) through deep pink (#370617) to deep red (#6A040F) 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 17.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #03071E, #370617, #6A040F);
bg-[linear-gradient(160deg,#03071E,#370617,#6A040F)]
{
"halloween-midnight-bats": {
"value": "linear-gradient(160deg, #03071E 0%, #370617 50%, #6A040F 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let halloweenMidnightBatsGradient = LinearGradient(
colors: [
Color(red: 0.012, green: 0.027, blue: 0.118),
Color(red: 0.216, green: 0.024, blue: 0.09),
Color(red: 0.416, green: 0.016, blue: 0.059)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(halloweenMidnightBatsGradient)val halloweenMidnightBatsColors = listOf(Color(0xFF03071E), Color(0xFF370617), Color(0xFF6A040F))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = halloweenMidnightBatsColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/halloween-midnight-bats_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#03071E"
android:centerColor="#370617"
android:endColor="#6A040F"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const halloweenMidnightBatsGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF03071E), Color(0xFF370617), Color(0xFF6A040F)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: halloweenMidnightBatsGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#03071E', '#370617', '#6A040F']}
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="halloween-midnight-bats" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#03071E" />
<stop offset="50%" stop-color="#370617" />
<stop offset="100%" stop-color="#6A040F" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#halloween-midnight-bats)" />
</svg>:root {
--halloween-midnight-bats-1: #03071E;
--halloween-midnight-bats-2: #370617;
--halloween-midnight-bats-3: #6A040F;
--halloween-midnight-bats-angle: 160deg;
--halloween-midnight-bats: linear-gradient(var(--halloween-midnight-bats-angle), var(--halloween-midnight-bats-1), var(--halloween-midnight-bats-2), var(--halloween-midnight-bats-3));
}
.hero {
background: var(--halloween-midnight-bats);
}$halloween-midnight-bats-1: #03071E;
$halloween-midnight-bats-2: #370617;
$halloween-midnight-bats-3: #6A040F;
$halloween-midnight-bats: linear-gradient(160deg, $halloween-midnight-bats-1, $halloween-midnight-bats-2, $halloween-midnight-bats-3);
@mixin halloween-midnight-bats-bg {
background: $halloween-midnight-bats-1;
background: $halloween-midnight-bats;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Near-black | #03071E | rgb(3, 7, 30) | hsl(231, 82%, 6%) |
| 2 | Deep pink | #370617 | rgb(55, 6, 23) | hsl(339, 80%, 12%) |
| 3 | Deep red | #6A040F | rgb(106, 4, 15) | hsl(354, 93%, 22%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Halloween Midnight Bats gradient uses 3 colours: #03071E, #370617 and #6A040F, at an angle of 160°.
Paste background: linear-gradient(160deg, #03071E, #370617, #6A040F); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 17.5:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.