CSS Gradient Generator

Create CSS gradients visually: linear, radial and conic, unlimited colour stops with opacity, angle and centre controls, repeating gradients, presets and random ideas. Copy the CSS or a Tailwind arbitrary class.

Runs locally — nothing is uploaded

Click the bar to add a stop, drag stops to move them, double-click a stop to remove it.

CSS

Presets

How to use CSS Gradient Generator

  1. Pick a type and drag the colour stops on the bar (click to add, double-click to remove).
  2. Set the colour, position and opacity of the selected stop and the angle.
  3. Copy the CSS (with a solid fallback) or the Tailwind class.

FAQ

Why is there a plain background line first?

It is a solid fallback for very old browsers and email clients that don’t support gradients.

Can I use it in a Shopify theme?

Yes. Paste the CSS into your section’s stylesheet, or into Custom CSS in the theme editor.

About the CSS Gradient Generator

Drag colour stops to design backgrounds, buttons and hero sections, then copy CSS with a solid fallback. Pull colours from a brand image with the Colour Palette Extractor and add depth with the CSS Box Shadow Generator.

Also useful: CSS & HTML Minifier · Font Pair Generator

Popular searches

People find CSS Gradient Generator by searching for:

  • css gradient generator
  • linear gradient css
  • radial gradient generator
  • conic gradient
  • tailwind gradient
  • background gradient css