Free tool

CSS gradient generator

Pick colors and angles, then copy the CSS.

Runs in your browserNothing is uploadedNo account needed
Type
Angle: 135deg
CSS
background: linear-gradient(135deg, #0969da 0%, #4da6ff 55%, #7cf0ff 100%);
Color stops (3/8)
0%
55%
100%

How to use it

  1. 1

    Choose linear, radial or conic.

  2. 2

    Add color stops, drag them into place and set the angle.

  3. 3

    Copy the CSS and paste it into your stylesheet.

About this tool

A gradient is a smooth blend between two or more colors, and CSS can draw it without an image. The syntax is easy to forget, especially for angles and stop positions.

Design visually, see the result live, and copy CSS that works in every modern browser. Nothing is uploaded.