← Check More Tools
CSS Gradient Generator 100% Free

Gradients, with the CSS done

Blend two or three colors, turn the angle, switch between linear and radial — then copy one line of CSS straight into your project.

Free No sign-up Private — runs in your browser
#2FD3B6
#0A5142
Gradient type
135°
Random
Presets
Your CSS

How it works

Three quick steps — no account, no upload, nothing leaves your device.

1

Pick your colors

Choose a start and end color — and optionally switch on a middle stop for a richer blend.

2

Set angle & type

Drag the angle for linear gradients, or switch to radial for a soft glow from the centre. Or start from a preset.

3

Copy the CSS

One click copies the ready-made background declaration — paste it into any stylesheet or style block.

Frequently asked questions

Quick answers about CSS gradients.

What is the difference between linear and radial gradients?

A linear gradient blends colors along a straight line at the angle you choose — 0° runs bottom to top, 90° runs left to right. A radial gradient blends outward from the centre, like a soft spotlight or glow.

Where do I paste the copied CSS?

Into any CSS rule for the element you want to fill — a page body, a header, a button, a card. For example: .hero { background: linear-gradient(...); } — the generator gives you the full background: declaration.

Do gradients work in all browsers?

Yes. CSS gradients have been supported by every modern browser for over a decade, on phones and desktops alike — no images and no JavaScript needed on your page.

Can I use the gradients commercially?

Of course. A gradient is just colors and numbers — use the output in personal and commercial projects without attribution.

🧰 Check More ToolsSee all 41 free tools on GetToolDock