← All gradients
35%How it works
Curated

Granite

#C9C6C1
#8B8782
#4A4744
Text readability
Curated Neutral

Granite is a neutral 3-colour linear gradient that runs from light grey (#C9C6C1) through grey (#8B8782) to charcoal (#4A4744) at 135°. It suits subtle surfaces and app backgrounds. 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 →

CSS
background: linear-gradient(135deg, #C9C6C1, #8B8782, #4A4744);
Tailwind
bg-gradient-to-br from-[#C9C6C1] via-[#8B8782] to-[#4A4744]
Figma token
{
    "granite": {
        "value": "linear-gradient(135deg, #C9C6C1 0%, #8B8782 50%, #4A4744 100%)",
        "type": "color"
    }
}

Granite gradient for SwiftUI, Flutter, Android and more

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

let graniteGradient = LinearGradient(
    colors: [
        Color(red: 0.788, green: 0.776, blue: 0.757),
        Color(red: 0.545, green: 0.529, blue: 0.51),
        Color(red: 0.29, green: 0.278, blue: 0.267)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(graniteGradient)

Colours in the Granite gradient

StopNameHEXRGBHSL
1Light grey#C9C6C1rgb(201, 198, 193)hsl(38, 7%, 77%)
2Grey#8B8782rgb(139, 135, 130)hsl(33, 4%, 53%)
3Charcoal#4A4744rgb(74, 71, 68)hsl(30, 4%, 28%)

Granite gradient in use

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

Granite 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 Granite gradient?

The Granite gradient uses 3 colours: #C9C6C1, #8B8782 and #4A4744, at an angle of 135°.

How do I use the Granite gradient in CSS?

Paste background: linear-gradient(135deg, #C9C6C1, #8B8782, #4A4744); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Granite 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.