About CSS Gradient Generator
A CSS gradient is an image generated by the browser that blends between colors, used as a background without an image file. This generator writes either linear-gradient() with an angle from 0 to 360 degrees or radial-gradient() with a circle shape, each with two color stops. In CSS, 0deg points up and angles increase clockwise, so 90deg runs left to right. Extra color stops and stop positions can be added by hand.
How to use CSS Gradient Generator
- Fill in "Type", "Start color", "End color" and "Angle".
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about CSS Gradient Generator
Which direction does the gradient angle point?
In standard CSS, 0deg runs from bottom to top, 90deg from left to right, and 180deg from top to bottom. The first color starts at the opposite side and blends toward the direction of the angle.
Runs in your browser. Page last updated .