Images & Colors tool
✦ Browser-firstCSS Gradient Generator
Build linear, radial and conic gradients and copy the CSS.
About this tool
Design linear, radial and conic CSS gradients with up to six color stops, a live preview and copy-ready code. Randomize colors for quick inspiration.
How to use the CSS Gradient Generator
- Choose linear, radial or conic.
- Set colors, stop positions and angle.
- Copy the generated CSS.
Common uses
- Hero backgrounds
- Buttons and cards
- Design experiments
CSS Gradient Generator questions
How many color stops can I use?
Between two and six.
Will it work in all browsers?
Linear and radial gradients work everywhere, and conic gradients work in all current browsers.
Can I use it as a text color?
Yes, apply it as a background and clip it to the text with background-clip.