#0D1B2A
#415A77
#E0E1DD
Halloween Full Moon Fog is a cool and neutral 3-colour linear gradient that runs from near-black (#0D1B2A) through blue (#415A77) to light grey (#E0E1DD) at 180°. It suits dashboards and SaaS landing pages and subtle surfaces and app backgrounds. White text reads best on it, at a contrast ratio of 4.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(180deg, #0D1B2A, #415A77, #E0E1DD);
bg-gradient-to-b from-[#0D1B2A] via-[#415A77] to-[#E0E1DD]
{
"halloween-full-moon-fog": {
"value": "linear-gradient(180deg, #0D1B2A 0%, #415A77 50%, #E0E1DD 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let halloweenFullMoonFogGradient = LinearGradient(
colors: [
Color(red: 0.051, green: 0.106, blue: 0.165),
Color(red: 0.255, green: 0.353, blue: 0.467),
Color(red: 0.878, green: 0.882, blue: 0.867)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(halloweenFullMoonFogGradient)val halloweenFullMoonFogColors = listOf(Color(0xFF0D1B2A), Color(0xFF415A77), Color(0xFFE0E1DD))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = halloweenFullMoonFogColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/halloween-full-moon-fog_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#0D1B2A"
android:centerColor="#415A77"
android:endColor="#E0E1DD"
android:type="linear" />
</shape>const halloweenFullMoonFogGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFF0D1B2A), Color(0xFF415A77), Color(0xFFE0E1DD)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: halloweenFullMoonFogGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0D1B2A', '#415A77', '#E0E1DD']}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, 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-full-moon-fog" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#0D1B2A" />
<stop offset="50%" stop-color="#415A77" />
<stop offset="100%" stop-color="#E0E1DD" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#halloween-full-moon-fog)" />
</svg>:root {
--halloween-full-moon-fog-1: #0D1B2A;
--halloween-full-moon-fog-2: #415A77;
--halloween-full-moon-fog-3: #E0E1DD;
--halloween-full-moon-fog-angle: 180deg;
--halloween-full-moon-fog: linear-gradient(var(--halloween-full-moon-fog-angle), var(--halloween-full-moon-fog-1), var(--halloween-full-moon-fog-2), var(--halloween-full-moon-fog-3));
}
.hero {
background: var(--halloween-full-moon-fog);
}$halloween-full-moon-fog-1: #0D1B2A;
$halloween-full-moon-fog-2: #415A77;
$halloween-full-moon-fog-3: #E0E1DD;
$halloween-full-moon-fog: linear-gradient(180deg, $halloween-full-moon-fog-1, $halloween-full-moon-fog-2, $halloween-full-moon-fog-3);
@mixin halloween-full-moon-fog-bg {
background: $halloween-full-moon-fog-1;
background: $halloween-full-moon-fog;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Near-black | #0D1B2A | rgb(13, 27, 42) | hsl(211, 53%, 11%) |
| 2 | Blue | #415A77 | rgb(65, 90, 119) | hsl(212, 29%, 36%) |
| 3 | Light grey | #E0E1DD | rgb(224, 225, 221) | hsl(75, 6%, 87%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Halloween Full Moon Fog gradient uses 3 colours: #0D1B2A, #415A77 and #E0E1DD, at an angle of 180°.
Paste background: linear-gradient(180deg, #0D1B2A, #415A77, #E0E1DD); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 4.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.