Formula 1 Gradient is a warm and dark 2-colour linear gradient that runs from red (#E10600) to near-black (#15151E) at 135°. It is inspired by Formula 1’s brand colours, a reference point for sport interfaces. White text reads best on it, at a contrast ratio of 11.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Formula 1’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Formula 1. Formula 1 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 Formula 1’s. Terms
background: linear-gradient(135deg, #E10600, #15151E);
bg-gradient-to-br from-[#E10600] to-[#15151E]
{
"formula-1": {
"value": "linear-gradient(135deg, #E10600 0%, #15151E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let formula1Gradient = LinearGradient(
colors: [
Color(red: 0.882, green: 0.024, blue: 0),
Color(red: 0.082, green: 0.082, blue: 0.118)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(formula1Gradient)val formula1Colors = listOf(Color(0xFFE10600), Color(0xFF15151E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = formula1Colors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/formula-1_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#E10600"
android:endColor="#15151E"
android:type="linear" />
</shape>const formula1Gradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFE10600), Color(0xFF15151E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: formula1Gradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E10600', '#15151E']}
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="formula-1" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#E10600" />
<stop offset="100%" stop-color="#15151E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#formula-1)" />
</svg>:root {
--formula-1-1: #E10600;
--formula-1-2: #15151E;
--formula-1-angle: 135deg;
--formula-1: linear-gradient(var(--formula-1-angle), var(--formula-1-1), var(--formula-1-2));
}
.hero {
background: var(--formula-1);
}$formula-1-1: #E10600;
$formula-1-2: #15151E;
$formula-1: linear-gradient(135deg, $formula-1-1, $formula-1-2);
@mixin formula-1-bg {
background: $formula-1-1;
background: $formula-1;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #E10600 | rgb(225, 6, 0) | hsl(2, 100%, 44%) |
| 2 | Near-black | #15151E | rgb(21, 21, 30) | hsl(240, 18%, 10%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Formula 1 Gradient uses 2 colours: #E10600 and #15151E, at an angle of 135°.
Paste background: linear-gradient(135deg, #E10600, #15151E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 11.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.