Firebase Gradient is a warm and bold 3-colour linear gradient that runs from yellow (#FFCA28) through orange (#FFA000) to orange (#F57C00) at 135°. It is inspired by Firebase’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 10.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Firebase’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Firebase. Firebase 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 Firebase’s. Terms
background: linear-gradient(135deg, #FFCA28, #FFA000, #F57C00);
bg-gradient-to-br from-[#FFCA28] via-[#FFA000] to-[#F57C00]
{
"firebase": {
"value": "linear-gradient(135deg, #FFCA28 0%, #FFA000 50%, #F57C00 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let firebaseGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.792, blue: 0.157),
Color(red: 1, green: 0.627, blue: 0),
Color(red: 0.961, green: 0.486, blue: 0)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(firebaseGradient)val firebaseColors = listOf(Color(0xFFFFCA28), Color(0xFFFFA000), Color(0xFFF57C00))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = firebaseColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/firebase_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FFCA28"
android:centerColor="#FFA000"
android:endColor="#F57C00"
android:type="linear" />
</shape>const firebaseGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFFCA28), Color(0xFFFFA000), Color(0xFFF57C00)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: firebaseGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFCA28', '#FFA000', '#F57C00']}
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="firebase" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FFCA28" />
<stop offset="50%" stop-color="#FFA000" />
<stop offset="100%" stop-color="#F57C00" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#firebase)" />
</svg>:root {
--firebase-1: #FFCA28;
--firebase-2: #FFA000;
--firebase-3: #F57C00;
--firebase-angle: 135deg;
--firebase: linear-gradient(var(--firebase-angle), var(--firebase-1), var(--firebase-2), var(--firebase-3));
}
.hero {
background: var(--firebase);
}$firebase-1: #FFCA28;
$firebase-2: #FFA000;
$firebase-3: #F57C00;
$firebase: linear-gradient(135deg, $firebase-1, $firebase-2, $firebase-3);
@mixin firebase-bg {
background: $firebase-1;
background: $firebase;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Yellow | #FFCA28 | rgb(255, 202, 40) | hsl(45, 100%, 58%) |
| 2 | Orange | #FFA000 | rgb(255, 160, 0) | hsl(38, 100%, 50%) |
| 3 | Orange | #F57C00 | rgb(245, 124, 0) | hsl(30, 100%, 48%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Firebase Gradient uses 3 colours: #FFCA28, #FFA000 and #F57C00, at an angle of 135°.
Paste background: linear-gradient(135deg, #FFCA28, #FFA000, #F57C00); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 10.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.