#FFF3B0
#FFB703
#FB5607
Halloween Candy Corn is a warm and bold 3-colour linear gradient that runs from pale yellow (#FFF3B0) through orange (#FFB703) to orange (#FB5607) at 180°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 11.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(180deg, #FFF3B0, #FFB703, #FB5607);
bg-gradient-to-b from-[#FFF3B0] via-[#FFB703] to-[#FB5607]
{
"halloween-candy-corn": {
"value": "linear-gradient(180deg, #FFF3B0 0%, #FFB703 50%, #FB5607 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let halloweenCandyCornGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.953, blue: 0.69),
Color(red: 1, green: 0.718, blue: 0.012),
Color(red: 0.984, green: 0.337, blue: 0.027)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(halloweenCandyCornGradient)val halloweenCandyCornColors = listOf(Color(0xFFFFF3B0), Color(0xFFFFB703), Color(0xFFFB5607))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = halloweenCandyCornColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/halloween-candy-corn_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#FFF3B0"
android:centerColor="#FFB703"
android:endColor="#FB5607"
android:type="linear" />
</shape>const halloweenCandyCornGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFFFFF3B0), Color(0xFFFFB703), Color(0xFFFB5607)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: halloweenCandyCornGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFF3B0', '#FFB703', '#FB5607']}
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-candy-corn" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#FFF3B0" />
<stop offset="50%" stop-color="#FFB703" />
<stop offset="100%" stop-color="#FB5607" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#halloween-candy-corn)" />
</svg>:root {
--halloween-candy-corn-1: #FFF3B0;
--halloween-candy-corn-2: #FFB703;
--halloween-candy-corn-3: #FB5607;
--halloween-candy-corn-angle: 180deg;
--halloween-candy-corn: linear-gradient(var(--halloween-candy-corn-angle), var(--halloween-candy-corn-1), var(--halloween-candy-corn-2), var(--halloween-candy-corn-3));
}
.hero {
background: var(--halloween-candy-corn);
}$halloween-candy-corn-1: #FFF3B0;
$halloween-candy-corn-2: #FFB703;
$halloween-candy-corn-3: #FB5607;
$halloween-candy-corn: linear-gradient(180deg, $halloween-candy-corn-1, $halloween-candy-corn-2, $halloween-candy-corn-3);
@mixin halloween-candy-corn-bg {
background: $halloween-candy-corn-1;
background: $halloween-candy-corn;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale yellow | #FFF3B0 | rgb(255, 243, 176) | hsl(51, 100%, 85%) |
| 2 | Orange | #FFB703 | rgb(255, 183, 3) | hsl(43, 100%, 51%) |
| 3 | Orange | #FB5607 | rgb(251, 86, 7) | hsl(19, 97%, 51%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Halloween Candy Corn gradient uses 3 colours: #FFF3B0, #FFB703 and #FB5607, at an angle of 180°.
Paste background: linear-gradient(180deg, #FFF3B0, #FFB703, #FB5607); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 11.1:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.