Gradient Lab

Design CSS gradients and export them as images.

Free Processed in your browserNo sign-up
Getting your tool ready…

About Gradient Lab

Gradient Lab is a visual editor for CSS gradients. Drag colour stops along the bar, set the angle, switch between linear and radial, and watch the preview update instantly.

When it looks right, copy production-ready CSS or export the gradient as a PNG for wallpapers, slides and social graphics.

Runs entirely in your browser. Your files and text never leave your device.

Frequently asked questions

Do the gradients work in all browsers?

Yes. linear-gradient() and radial-gradient() are supported by every modern browser without prefixes.

How do I remove a colour stop?

Select the stop and press the delete button. A gradient always keeps at least two stops.

Will the PNG match the CSS exactly?

The PNG is drawn with the same angle maths the CSS spec uses, so it matches the preview closely.

How to use it

  1. Start from a preset or the default gradient.
  2. Click the bar to add a stop, drag stops to move them and pick their colours.
  3. Choose linear or radial and set the angle or position.
  4. Copy the CSS, save it to favourites or export a PNG at the size you need.

Guides for Gradient Lab

Step-by-step articles from the HandyBear blog.

All articles

More from Design and friends.

All Design tools

Carousel Creator

Design multi-slide carousels for social media.

Social & MarketingFree