Gradient Generator

Design stunning CSS gradients with our easy visual editor.

Preview
Live Render
Logic Core
#3b82f6
#8b5cf6
90deg
0°90°180°270°360°
Status ReportCSS ready to copy
CSS code

Visual Depth

Add depth to buttons, cards and page backgrounds.

Two colours

Pick a start and an end colour, for example your brand colours.

Logic Presets

Switch between a straight (linear) and a circular (radial) gradient.

CSS Gradient Generator FAQ

Linear or radial?

A linear gradient changes colour along a straight line, which suits backgrounds and buttons. A radial gradient spreads out from the centre, like a spotlight.

How do I use the CSS?

Copy the CSS line and paste it into the style of any element, for example as its background.

How to use the Gradient Generator

  1. Pick two colours.
  2. Choose linear or radial, and set the angle.
  3. Copy the CSS code.

Questions and answers

Is it free?

Yes. The tool is free to use and needs no account or sign-up.

Where do I use the code?

Paste it as the value of the CSS background or background-image property.