CSS Gradient Generator β€” Linear & Radial

Build linear and radial CSS gradients visually. Add as many colour stops as you need, drag angles, copy ready-to-paste CSS.

135Β°
Browser-only.

Why CSS gradients?

Gradients give visual depth without an image file. They scale infinitely, take zero network requests, and animate smoothly. CSS gradients are everywhere on the modern web β€” hero backgrounds, button surfaces, card highlights, dark-mode subtle tones, decorative overlays β€” and modern browsers render them in hardware for maximum performance.

Linear vs. radial

Colour stops

A gradient transitions between colour stops. Each stop is a colour + position (0–100%). At least two stops are required. Multiple stops let you create complex transitions β€” sunset gradients, rainbow effects, soft-then-hard fades.

Common gradient recipes

FAQs

Are CSS gradients supported in all browsers?

Yes β€” supported since 2011. Modern syntax (color-interpolation, conic-gradient) is wide-spread but not universal.

Do gradients hurt performance?

No β€” modern browsers render them in hardware. They're often faster than equivalent image backgrounds.

Related