#0B132B
#1C2B5A
#F2C14E
Christmas Eve is a dark and cool 3-colour linear gradient that runs from near-black (#0B132B) through deep blue (#1C2B5A) to light orange (#F2C14E) at 170°. It suits dark-mode interfaces and footers and dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 7.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(170deg, #0B132B, #1C2B5A, #F2C14E);
bg-[linear-gradient(170deg,#0B132B,#1C2B5A,#F2C14E)]
{
"christmas-eve": {
"value": "linear-gradient(170deg, #0B132B 0%, #1C2B5A 50%, #F2C14E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let christmasEveGradient = LinearGradient(
colors: [
Color(red: 0.043, green: 0.075, blue: 0.169),
Color(red: 0.11, green: 0.169, blue: 0.353),
Color(red: 0.949, green: 0.757, blue: 0.306)
],
startPoint: UnitPoint(x: 0.412, y: 0),
endPoint: UnitPoint(x: 0.588, y: 1)
)
// Usage
Rectangle().fill(christmasEveGradient)val christmasEveColors = listOf(Color(0xFF0B132B), Color(0xFF1C2B5A), Color(0xFFF2C14E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = christmasEveColors,
start = Offset(size.width * 0.412f, size.height * 0f),
end = Offset(size.width * 0.588f, size.height * 1f)
)
)
}<!-- res/drawable/christmas-eve_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#0B132B"
android:centerColor="#1C2B5A"
android:endColor="#F2C14E"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 170deg in CSS is 280°, rounded to 270°. -->const christmasEveGradient = LinearGradient(
begin: Alignment(-0.176, -1),
end: Alignment(0.176, 1),
colors: [Color(0xFF0B132B), Color(0xFF1C2B5A), Color(0xFFF2C14E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: christmasEveGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0B132B', '#1C2B5A', '#F2C14E']}
start={{ x: 0.412, y: 0 }}
end={{ x: 0.588, 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="christmas-eve" x1="0.412" y1="0" x2="0.588" y2="1">
<stop offset="0%" stop-color="#0B132B" />
<stop offset="50%" stop-color="#1C2B5A" />
<stop offset="100%" stop-color="#F2C14E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#christmas-eve)" />
</svg>:root {
--christmas-eve-1: #0B132B;
--christmas-eve-2: #1C2B5A;
--christmas-eve-3: #F2C14E;
--christmas-eve-angle: 170deg;
--christmas-eve: linear-gradient(var(--christmas-eve-angle), var(--christmas-eve-1), var(--christmas-eve-2), var(--christmas-eve-3));
}
.hero {
background: var(--christmas-eve);
}$christmas-eve-1: #0B132B;
$christmas-eve-2: #1C2B5A;
$christmas-eve-3: #F2C14E;
$christmas-eve: linear-gradient(170deg, $christmas-eve-1, $christmas-eve-2, $christmas-eve-3);
@mixin christmas-eve-bg {
background: $christmas-eve-1;
background: $christmas-eve;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Near-black | #0B132B | rgb(11, 19, 43) | hsl(225, 59%, 11%) |
| 2 | Deep blue | #1C2B5A | rgb(28, 43, 90) | hsl(225, 53%, 23%) |
| 3 | Light orange | #F2C14E | rgb(242, 193, 78) | hsl(42, 86%, 63%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Christmas Eve gradient uses 3 colours: #0B132B, #1C2B5A and #F2C14E, at an angle of 170°.
Paste background: linear-gradient(170deg, #0B132B, #1C2B5A, #F2C14E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 7.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.