CSS Gradient Generator

Build a CSS linear or radial gradient with a live preview and copy the ready-to-use background rule.

CSS gradient generator

Choose a gradient type, set the angle and colour stops, then copy the CSS.

No gradient yet

Pick your colours above, then press “Build gradient”.

Stops without a position are left to the browser to space evenly. Radial gradients always use a circle.

Runs entirely in your browser. Nothing is uploaded.

How it works

This utility runs locally in your browser for privacy and speed.

1 ⚡

Unlimited local tools

This run costs 1 credit(s) and is saved to your history automatically.

Log in to save and view your usage history.

My usage history

No runs recorded yet.

Frequently asked questions

Do I get free credits to try CSS Gradient Generator?
Yes — new accounts get 3 free credits to spend on any tool, CSS Gradient Generator included. After that you only pay for what you run.
How many credits does CSS Gradient Generator cost?
Everything runs in your browser and nothing is uploaded: free accounts pay 1 credit per run, and Pro or Pro+ members run it as often as they like.
Is the content I paste private?
CSS Gradient Generator uses your input only to generate the result. Stored results are deleted automatically by our retention policy, and you can remove any run from your history.
Do I need to install anything?
No. CSS Gradient Generator works in any modern browser — nothing to download or install.

Related tools

Tools people usually need next, in the same workflow.