#0066DA
#00AC47
#FFBA00
Google Drive-Inspired Gradient is a cool 3-colour linear gradient that runs from blue (#0066DA) through green (#00AC47) to orange (#FFBA00) at 135°. It is inspired by Google’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 Google’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Google. Google 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 Google’s. Terms
background: linear-gradient(135deg, #0066DA, #00AC47, #FFBA00);
bg-gradient-to-br from-[#0066DA] via-[#00AC47] to-[#FFBA00]
{
"google-drive-inspired": {
"value": "linear-gradient(135deg, #0066DA 0%, #00AC47 50%, #FFBA00 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let googleDriveInspiredGradient = LinearGradient(
colors: [
Color(red: 0, green: 0.4, blue: 0.855),
Color(red: 0, green: 0.675, blue: 0.278),
Color(red: 1, green: 0.729, blue: 0)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(googleDriveInspiredGradient)val googleDriveInspiredColors = listOf(Color(0xFF0066DA), Color(0xFF00AC47), Color(0xFFFFBA00))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = googleDriveInspiredColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/google-drive-inspired_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#0066DA"
android:centerColor="#00AC47"
android:endColor="#FFBA00"
android:type="linear" />
</shape>const googleDriveInspiredGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF0066DA), Color(0xFF00AC47), Color(0xFFFFBA00)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: googleDriveInspiredGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0066DA', '#00AC47', '#FFBA00']}
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="google-drive-inspired" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#0066DA" />
<stop offset="50%" stop-color="#00AC47" />
<stop offset="100%" stop-color="#FFBA00" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#google-drive-inspired)" />
</svg>:root {
--google-drive-inspired-1: #0066DA;
--google-drive-inspired-2: #00AC47;
--google-drive-inspired-3: #FFBA00;
--google-drive-inspired-angle: 135deg;
--google-drive-inspired: linear-gradient(var(--google-drive-inspired-angle), var(--google-drive-inspired-1), var(--google-drive-inspired-2), var(--google-drive-inspired-3));
}
.hero {
background: var(--google-drive-inspired);
}$google-drive-inspired-1: #0066DA;
$google-drive-inspired-2: #00AC47;
$google-drive-inspired-3: #FFBA00;
$google-drive-inspired: linear-gradient(135deg, $google-drive-inspired-1, $google-drive-inspired-2, $google-drive-inspired-3);
@mixin google-drive-inspired-bg {
background: $google-drive-inspired-1;
background: $google-drive-inspired;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #0066DA | rgb(0, 102, 218) | hsl(212, 100%, 43%) |
| 2 | Green | #00AC47 | rgb(0, 172, 71) | hsl(145, 100%, 34%) |
| 3 | Orange | #FFBA00 | rgb(255, 186, 0) | hsl(44, 100%, 50%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Google Drive-Inspired Gradient uses 3 colours: #0066DA, #00AC47 and #FFBA00, at an angle of 135°.
Paste background: linear-gradient(135deg, #0066DA, #00AC47, #FFBA00); 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.