CSS Gradient Generator

Create linear, radial and conic CSS gradients with up to three colours and copy the code.

Runs instantly in your browser — results update as you type.

How do you make a gradient in CSS?

A CSS gradient is a smooth transition between colours created with the linear-gradient(), radial-gradient() or conic-gradient() functions, used as a background without any image file.

How to use the CSS Gradient Generator

    Frequently asked questions

    Can I use a gradient as text colour?

    Yes: use background-clip: text with color: transparent on the text element.

    How many colours can a gradient have?

    CSS supports any number; this generator offers up to three for clean results.

    Do gradients work in all browsers?

    Linear and radial gradients work everywhere; conic gradients work in all modern browsers.