#CC0000
#FFFFFF
#00AA00
Christmas Morning is a bold 3-colour linear gradient that runs from red (#CC0000) through off-white (#FFFFFF) to green (#00AA00) at 45°. It suits banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 6.3:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(45deg, #CC0000, #FFFFFF, #00AA00);
bg-gradient-to-tr from-[#CC0000] via-[#FFFFFF] to-[#00AA00]
{
"christmas-morning": {
"value": "linear-gradient(45deg, #CC0000 0%, #FFFFFF 50%, #00AA00 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let christmasMorningGradient = LinearGradient(
colors: [
Color(red: 0.8, green: 0, blue: 0),
Color(red: 1, green: 1, blue: 1),
Color(red: 0, green: 0.667, blue: 0)
],
startPoint: UnitPoint(x: 0, y: 1),
endPoint: UnitPoint(x: 1, y: 0)
)
// Usage
Rectangle().fill(christmasMorningGradient)val christmasMorningColors = listOf(Color(0xFFCC0000), Color(0xFFFFFFFF), Color(0xFF00AA00))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = christmasMorningColors,
start = Offset(size.width * 0f, size.height * 1f),
end = Offset(size.width * 1f, size.height * 0f)
)
)
}<!-- res/drawable/christmas-morning_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#CC0000"
android:centerColor="#FFFFFF"
android:endColor="#00AA00"
android:type="linear" />
</shape>const christmasMorningGradient = LinearGradient(
begin: Alignment(-1, 1),
end: Alignment(1, -1),
colors: [Color(0xFFCC0000), Color(0xFFFFFFFF), Color(0xFF00AA00)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: christmasMorningGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#CC0000', '#FFFFFF', '#00AA00']}
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="christmas-morning" x1="0" y1="1" x2="1" y2="0">
<stop offset="0%" stop-color="#CC0000" />
<stop offset="50%" stop-color="#FFFFFF" />
<stop offset="100%" stop-color="#00AA00" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#christmas-morning)" />
</svg>:root {
--christmas-morning-1: #CC0000;
--christmas-morning-2: #FFFFFF;
--christmas-morning-3: #00AA00;
--christmas-morning-angle: 45deg;
--christmas-morning: linear-gradient(var(--christmas-morning-angle), var(--christmas-morning-1), var(--christmas-morning-2), var(--christmas-morning-3));
}
.hero {
background: var(--christmas-morning);
}$christmas-morning-1: #CC0000;
$christmas-morning-2: #FFFFFF;
$christmas-morning-3: #00AA00;
$christmas-morning: linear-gradient(45deg, $christmas-morning-1, $christmas-morning-2, $christmas-morning-3);
@mixin christmas-morning-bg {
background: $christmas-morning-1;
background: $christmas-morning;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #CC0000 | rgb(204, 0, 0) | hsl(0, 100%, 40%) |
| 2 | Off-white | #FFFFFF | rgb(255, 255, 255) | hsl(0, 0%, 100%) |
| 3 | Green | #00AA00 | rgb(0, 170, 0) | hsl(120, 100%, 33%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Christmas Morning gradient uses 3 colours: #CC0000, #FFFFFF and #00AA00, at an angle of 45°.
Paste background: linear-gradient(45deg, #CC0000, #FFFFFF, #00AA00); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.3:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.