🌐 English

Home › Color tools

CSS Gradient Generator

Choose two or more colors and the gradient appears instantly. Use it as a website background or a wallpaper image.


  

🔒 Your images and colors never go to a server — every calculation happens on your device (in your browser).

How to use

  1. Choose the type (linear, radial or conic) and angle.
  2. Change colors and positions or add more with “Add color”. Try “Random” for ideas.
  3. Copy the CSS code or save a PNG (1920×1080).

Smoother blending

Ordinary gradients mix red, green and blue values directly, so the middle between, say, blue and yellow tends to go greyish. With “Smoother blending” on, colors are mixed in a perception-based color space so the middle stays vivid. A standard line is included too for older browsers that don't support it.

Tips for good gradients

Two or three colors that sit close together on the color wheel look more natural than colors far apart. If text will sit on it, use “Contrast Checker” to make sure text reads well even on the lightest part.

FAQ

Why two lines of CSS?

The first works in every browser; the second uses smoother modern blending. With both, modern browsers use the second.

How many colors can I add?

Up to 8.

Can I change the PNG size?

It's saved at 1920×1080 for now.

Is any data sent to a server?

No. It's made in your browser.