← All gradients
35%How it works
UI

Shimmer Effect

#F8FAFC
#E2E8F0
#F8FAFC
Text readability
Ui NeutralPastel

Shimmer Effect is a neutral and pastel 3-colour linear gradient that runs from off-white (#F8FAFC) through light grey (#E2E8F0) to off-white (#F8FAFC) at 90°. It suits subtle surfaces and app backgrounds and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 19.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(90deg, #F8FAFC, #E2E8F0, #F8FAFC);
Tailwind
bg-gradient-to-r from-[#F8FAFC] via-[#E2E8F0] to-[#F8FAFC]
Figma token
{
    "shimmer-effect": {
        "value": "linear-gradient(90deg, #F8FAFC 0%, #E2E8F0 50%, #F8FAFC 100%)",
        "type": "color"
    }
}

Shimmer Effect gradient for SwiftUI, Flutter, Android and more

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

let shimmerEffectGradient = LinearGradient(
    colors: [
        Color(red: 0.973, green: 0.98, blue: 0.988),
        Color(red: 0.886, green: 0.91, blue: 0.941),
        Color(red: 0.973, green: 0.98, blue: 0.988)
    ],
    startPoint: UnitPoint(x: 0, y: 0.5),
    endPoint: UnitPoint(x: 1, y: 0.5)
)

// Usage
Rectangle().fill(shimmerEffectGradient)

Colours in the Shimmer Effect gradient

StopNameHEXRGBHSL
1Off-white#F8FAFCrgb(248, 250, 252)hsl(210, 40%, 98%)
2Light grey#E2E8F0rgb(226, 232, 240)hsl(214, 32%, 91%)
3Off-white#F8FAFCrgb(248, 250, 252)hsl(210, 40%, 98%)

Shimmer Effect gradient in use

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

Shimmer Effect gradient variations

Reversed
Vertical
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 Shimmer Effect gradient?

The Shimmer Effect gradient uses 3 colours: #F8FAFC, #E2E8F0 and #F8FAFC, at an angle of 90°.

How do I use the Shimmer Effect gradient in CSS?

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

What text colour works on the Shimmer Effect gradient?

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