#C8102E
#FFF4E0
#0F7B3F
Christmas Red and Green is a bold and warm 3-colour linear gradient that runs from red (#C8102E) through off-white (#FFF4E0) to deep green (#0F7B3F) at 135°. It suits banners and attention-grabbing headers and hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 5.7:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #C8102E, #FFF4E0, #0F7B3F);
bg-gradient-to-br from-[#C8102E] via-[#FFF4E0] to-[#0F7B3F]
{
"christmas-red-and-green": {
"value": "linear-gradient(135deg, #C8102E 0%, #FFF4E0 50%, #0F7B3F 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let christmasRedAndGreenGradient = LinearGradient(
colors: [
Color(red: 0.784, green: 0.063, blue: 0.18),
Color(red: 1, green: 0.957, blue: 0.878),
Color(red: 0.059, green: 0.482, blue: 0.247)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(christmasRedAndGreenGradient)val christmasRedAndGreenColors = listOf(Color(0xFFC8102E), Color(0xFFFFF4E0), Color(0xFF0F7B3F))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = christmasRedAndGreenColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/christmas-red-and-green_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#C8102E"
android:centerColor="#FFF4E0"
android:endColor="#0F7B3F"
android:type="linear" />
</shape>const christmasRedAndGreenGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFC8102E), Color(0xFFFFF4E0), Color(0xFF0F7B3F)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: christmasRedAndGreenGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#C8102E', '#FFF4E0', '#0F7B3F']}
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="christmas-red-and-green" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#C8102E" />
<stop offset="50%" stop-color="#FFF4E0" />
<stop offset="100%" stop-color="#0F7B3F" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#christmas-red-and-green)" />
</svg>:root {
--christmas-red-and-green-1: #C8102E;
--christmas-red-and-green-2: #FFF4E0;
--christmas-red-and-green-3: #0F7B3F;
--christmas-red-and-green-angle: 135deg;
--christmas-red-and-green: linear-gradient(var(--christmas-red-and-green-angle), var(--christmas-red-and-green-1), var(--christmas-red-and-green-2), var(--christmas-red-and-green-3));
}
.hero {
background: var(--christmas-red-and-green);
}$christmas-red-and-green-1: #C8102E;
$christmas-red-and-green-2: #FFF4E0;
$christmas-red-and-green-3: #0F7B3F;
$christmas-red-and-green: linear-gradient(135deg, $christmas-red-and-green-1, $christmas-red-and-green-2, $christmas-red-and-green-3);
@mixin christmas-red-and-green-bg {
background: $christmas-red-and-green-1;
background: $christmas-red-and-green;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #C8102E | rgb(200, 16, 46) | hsl(350, 85%, 42%) |
| 2 | Off-white | #FFF4E0 | rgb(255, 244, 224) | hsl(39, 100%, 94%) |
| 3 | Deep green | #0F7B3F | rgb(15, 123, 63) | hsl(147, 78%, 27%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Christmas Red and Green gradient uses 3 colours: #C8102E, #FFF4E0 and #0F7B3F, at an angle of 135°.
Paste background: linear-gradient(135deg, #C8102E, #FFF4E0, #0F7B3F); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 5.7:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.