Microsoft Gradient is a bold 3-colour linear gradient that runs from red (#F25022) through green (#7FBA00) to teal (#00A4EF) at 45°. It is inspired by Microsoft’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 5.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Microsoft’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Microsoft. Microsoft 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 Microsoft’s. Terms
background: linear-gradient(45deg, #F25022, #7FBA00, #00A4EF);
bg-gradient-to-tr from-[#F25022] via-[#7FBA00] to-[#00A4EF]
{
"microsoft": {
"value": "linear-gradient(45deg, #F25022 0%, #7FBA00 50%, #00A4EF 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let microsoftGradient = LinearGradient(
colors: [
Color(red: 0.949, green: 0.314, blue: 0.133),
Color(red: 0.498, green: 0.729, blue: 0),
Color(red: 0, green: 0.643, blue: 0.937)
],
startPoint: UnitPoint(x: 0, y: 1),
endPoint: UnitPoint(x: 1, y: 0)
)
// Usage
Rectangle().fill(microsoftGradient)val microsoftColors = listOf(Color(0xFFF25022), Color(0xFF7FBA00), Color(0xFF00A4EF))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = microsoftColors,
start = Offset(size.width * 0f, size.height * 1f),
end = Offset(size.width * 1f, size.height * 0f)
)
)
}<!-- res/drawable/microsoft_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#F25022"
android:centerColor="#7FBA00"
android:endColor="#00A4EF"
android:type="linear" />
</shape>const microsoftGradient = LinearGradient(
begin: Alignment(-1, 1),
end: Alignment(1, -1),
colors: [Color(0xFFF25022), Color(0xFF7FBA00), Color(0xFF00A4EF)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: microsoftGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F25022', '#7FBA00', '#00A4EF']}
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="microsoft" x1="0" y1="1" x2="1" y2="0">
<stop offset="0%" stop-color="#F25022" />
<stop offset="50%" stop-color="#7FBA00" />
<stop offset="100%" stop-color="#00A4EF" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#microsoft)" />
</svg>:root {
--microsoft-1: #F25022;
--microsoft-2: #7FBA00;
--microsoft-3: #00A4EF;
--microsoft-angle: 45deg;
--microsoft: linear-gradient(var(--microsoft-angle), var(--microsoft-1), var(--microsoft-2), var(--microsoft-3));
}
.hero {
background: var(--microsoft);
}$microsoft-1: #F25022;
$microsoft-2: #7FBA00;
$microsoft-3: #00A4EF;
$microsoft: linear-gradient(45deg, $microsoft-1, $microsoft-2, $microsoft-3);
@mixin microsoft-bg {
background: $microsoft-1;
background: $microsoft;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #F25022 | rgb(242, 80, 34) | hsl(13, 89%, 54%) |
| 2 | Green | #7FBA00 | rgb(127, 186, 0) | hsl(79, 100%, 36%) |
| 3 | Teal | #00A4EF | rgb(0, 164, 239) | hsl(199, 100%, 47%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Microsoft Gradient uses 3 colours: #F25022, #7FBA00 and #00A4EF, at an angle of 45°.
Paste background: linear-gradient(45deg, #F25022, #7FBA00, #00A4EF); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 5.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.