Cloudflare Gradient is a warm and bold 2-colour linear gradient that runs from orange (#F48120) to orange (#C94D06) at 135°. It is inspired by Cloudflare’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 6.1:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Cloudflare’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Cloudflare. Cloudflare is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Cloudflare’s. Terms
background: linear-gradient(135deg, #F48120, #C94D06);
bg-gradient-to-br from-[#F48120] to-[#C94D06]
{
"cloudflare": {
"value": "linear-gradient(135deg, #F48120 0%, #C94D06 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let cloudflareGradient = LinearGradient(
colors: [
Color(red: 0.957, green: 0.506, blue: 0.125),
Color(red: 0.788, green: 0.302, blue: 0.024)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(cloudflareGradient)val cloudflareColors = listOf(Color(0xFFF48120), Color(0xFFC94D06))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = cloudflareColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/cloudflare_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F48120"
android:endColor="#C94D06"
android:type="linear" />
</shape>const cloudflareGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFF48120), Color(0xFFC94D06)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: cloudflareGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F48120', '#C94D06']}
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="cloudflare" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#F48120" />
<stop offset="100%" stop-color="#C94D06" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#cloudflare)" />
</svg>:root {
--cloudflare-1: #F48120;
--cloudflare-2: #C94D06;
--cloudflare-angle: 135deg;
--cloudflare: linear-gradient(var(--cloudflare-angle), var(--cloudflare-1), var(--cloudflare-2));
}
.hero {
background: var(--cloudflare);
}$cloudflare-1: #F48120;
$cloudflare-2: #C94D06;
$cloudflare: linear-gradient(135deg, $cloudflare-1, $cloudflare-2);
@mixin cloudflare-bg {
background: $cloudflare-1;
background: $cloudflare;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Orange | #F48120 | rgb(244, 129, 32) | hsl(27, 91%, 54%) |
| 2 | Orange | #C94D06 | rgb(201, 77, 6) | hsl(22, 94%, 41%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Cloudflare Gradient uses 2 colours: #F48120 and #C94D06, at an angle of 135°.
Paste background: linear-gradient(135deg, #F48120, #C94D06); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.1:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.