Design · Free · No AI

Free CSS Linear Gradient Generator

Adjust colours, stops and angle, then copy production-ready linear-gradient CSS.

Private by defaultValues stay in this browser and are not sent to LeadHub.
background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #22d3ee 100%);

Gradient controls

Presets

How to use it

A simple three-step workflow

  1. 1Choose two or three colours.
  2. 2Adjust the angle and colour-stop positions.
  3. 3Copy the generated CSS declaration.

Useful context

Create a CSS gradient with predictable colour stops

CSS linear gradients blend colours along a straight axis. The angle controls direction, while colour-stop percentages control where each colour reaches full strength.

The generated value can be used as a CSS background. Check text contrast across the whole gradient because readability can change from one part of the background to another.

Questions

Frequently asked questions

Can I use three colours?+

Yes. Enable the optional middle colour and choose its position.

What CSS does the tool generate?+

It generates a standard linear-gradient value and a complete background declaration.

Is the gradient saved?+

No. Everything remains local until you copy the CSS.