← All gradients
35%How it works
Microsoft ↗

Microsoft Gradient

#F25022
#7FBA00
#00A4EF
Text readability
Brand Bold Tech

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

CSS
background: linear-gradient(45deg, #F25022, #7FBA00, #00A4EF);
Tailwind
bg-gradient-to-tr from-[#F25022] via-[#7FBA00] to-[#00A4EF]
Figma token
{
    "microsoft": {
        "value": "linear-gradient(45deg, #F25022 0%, #7FBA00 50%, #00A4EF 100%)",
        "type": "color"
    }
}

Microsoft Gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Microsoft Gradient

StopNameHEXRGBHSL
1Red#F25022rgb(242, 80, 34)hsl(13, 89%, 54%)
2Green#7FBA00rgb(127, 186, 0)hsl(79, 100%, 36%)
3Teal#00A4EFrgb(0, 164, 239)hsl(199, 100%, 47%)

Microsoft Gradient in use

Build something beautifulA hero section on the Microsoft GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Microsoft Gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Microsoft Gradient?

The Microsoft Gradient uses 3 colours: #F25022, #7FBA00 and #00A4EF, at an angle of 45°.

How do I use the Microsoft Gradient in CSS?

Paste background: linear-gradient(45deg, #F25022, #7FBA00, #00A4EF); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Microsoft Gradient?

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.