WordGPT

Gradient builder

Make linear, radial, conic and mesh gradients. Copy the CSS or Tailwind class, or download a picture.

Drag a stop to move it. Click the bar to add one.

CSS

background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

Tailwind class

bg-[linear-gradient(135deg,_#667eea_0%,_#764ba2_100%)]

Download

Questions

What is the difference between linear, radial, conic and mesh gradients?

A linear gradient changes along a straight line, a radial one spreads out from a centre, a conic one turns around a centre like a colour wheel, and a mesh blends several soft spots of colour placed anywhere.

How do I use the gradient on my website?

Copy the CSS and paste it into the style of any element, or copy the Tailwind class and add it to the element's class list.

What does smooth mixing do?

It mixes the colours in the OKLab colour space, which keeps the brightness even and avoids a gray band between opposite hues. Current browsers support it.

Can I download the gradient as a picture?

Yes: pick a size and download a PNG. Linear, radial and mesh gradients can also be downloaded as SVG.

    CSS gradient generator: linear, radial, conic and mesh | WordGPT