← All gradients
35%How it works
Python ↗

Python Gradient

#3776AB
#FFD43B
Text readability
Brand Warm Tech

Python Gradient is a warm 2-colour linear gradient that runs from blue (#3776AB) to yellow (#FFD43B) at 135°. It is inspired by Python’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 8.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

Unofficial reference: inspired by Python’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Python. Python 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 Python’s. Terms

CSS
background: linear-gradient(135deg, #3776AB, #FFD43B);
Tailwind
bg-gradient-to-br from-[#3776AB] to-[#FFD43B]
Figma token
{
    "python": {
        "value": "linear-gradient(135deg, #3776AB 0%, #FFD43B 100%)",
        "type": "color"
    }
}

Python Gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let pythonGradient = LinearGradient(
    colors: [
        Color(red: 0.216, green: 0.463, blue: 0.671),
        Color(red: 1, green: 0.831, blue: 0.231)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(pythonGradient)

Colours in the Python Gradient

StopNameHEXRGBHSL
1Blue#3776ABrgb(55, 118, 171)hsl(207, 51%, 44%)
2Yellow#FFD43Brgb(255, 212, 59)hsl(47, 100%, 62%)

Python Gradient in use

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

Python 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 Python Gradient?

The Python Gradient uses 2 colours: #3776AB and #FFD43B, at an angle of 135°.

How do I use the Python Gradient in CSS?

Paste background: linear-gradient(135deg, #3776AB, #FFD43B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Python Gradient?

Black text has the best contrast, at 8.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.