#0B0B45
#3A0CA3
#F72585
New Year’s Eve Midnight is a dark and bold 3-colour linear gradient that runs from deep blue (#0B0B45) through purple (#3A0CA3) to pink (#F72585) at 135°. It suits dark-mode interfaces and footers and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 10.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #0B0B45, #3A0CA3, #F72585);
bg-gradient-to-br from-[#0B0B45] via-[#3A0CA3] to-[#F72585]
{
"new-year-8217-s-eve-midnight": {
"value": "linear-gradient(135deg, #0B0B45 0%, #3A0CA3 50%, #F72585 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let newYear8217SEveMidnightGradient = LinearGradient(
colors: [
Color(red: 0.043, green: 0.043, blue: 0.271),
Color(red: 0.227, green: 0.047, blue: 0.639),
Color(red: 0.969, green: 0.145, blue: 0.522)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(newYear8217SEveMidnightGradient)val newYear8217SEveMidnightColors = listOf(Color(0xFF0B0B45), Color(0xFF3A0CA3), Color(0xFFF72585))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = newYear8217SEveMidnightColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/new-year-8217-s-eve-midnight_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#0B0B45"
android:centerColor="#3A0CA3"
android:endColor="#F72585"
android:type="linear" />
</shape>const newYear8217SEveMidnightGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF0B0B45), Color(0xFF3A0CA3), Color(0xFFF72585)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: newYear8217SEveMidnightGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0B0B45', '#3A0CA3', '#F72585']}
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="new-year-8217-s-eve-midnight" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#0B0B45" />
<stop offset="50%" stop-color="#3A0CA3" />
<stop offset="100%" stop-color="#F72585" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#new-year-8217-s-eve-midnight)" />
</svg>:root {
--new-year-8217-s-eve-midnight-1: #0B0B45;
--new-year-8217-s-eve-midnight-2: #3A0CA3;
--new-year-8217-s-eve-midnight-3: #F72585;
--new-year-8217-s-eve-midnight-angle: 135deg;
--new-year-8217-s-eve-midnight: linear-gradient(var(--new-year-8217-s-eve-midnight-angle), var(--new-year-8217-s-eve-midnight-1), var(--new-year-8217-s-eve-midnight-2), var(--new-year-8217-s-eve-midnight-3));
}
.hero {
background: var(--new-year-8217-s-eve-midnight);
}$new-year-8217-s-eve-midnight-1: #0B0B45;
$new-year-8217-s-eve-midnight-2: #3A0CA3;
$new-year-8217-s-eve-midnight-3: #F72585;
$new-year-8217-s-eve-midnight: linear-gradient(135deg, $new-year-8217-s-eve-midnight-1, $new-year-8217-s-eve-midnight-2, $new-year-8217-s-eve-midnight-3);
@mixin new-year-8217-s-eve-midnight-bg {
background: $new-year-8217-s-eve-midnight-1;
background: $new-year-8217-s-eve-midnight;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep blue | #0B0B45 | rgb(11, 11, 69) | hsl(240, 73%, 16%) |
| 2 | Purple | #3A0CA3 | rgb(58, 12, 163) | hsl(258, 86%, 34%) |
| 3 | Pink | #F72585 | rgb(247, 37, 133) | hsl(333, 93%, 56%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The New Year’s Eve Midnight gradient uses 3 colours: #0B0B45, #3A0CA3 and #F72585, at an angle of 135°.
Paste background: linear-gradient(135deg, #0B0B45, #3A0CA3, #F72585); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 10.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.