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