CSS gradient generator
Gradients make buttons, banners and backgrounds look modern without heavy images. This CSS gradient generator lets you build linear, radial and conic gradients visually: choose up to six colours, drag each stop's position, set the angle, and the CSS code updates live, ready to paste into your stylesheet. Start from a preset โ including saffron-white-green and sunset tones โ or hit Random for ideas, and download the result as a PNG sized for a WhatsApp status, an Instagram post or a slide.
How to use it
- Pick the gradient type and angle.
- Set the colours and stop positions (add or remove colours).
- Copy the CSS or download the image.
Example
linear-gradient(135deg, #ff9933 0%, #ffffff 50%, #138808 100%) blends saffron to white to green diagonally. Find matching colours with the colour palette generator, convert codes with the colour converter, or add depth with thebox shadow generator.