Zentpal · Free online tools

CSS gradient generator — gradients without guessing

Choose two or three colours, set the direction or angle, and watch the gradient update live. When it looks right, copy the exact CSS — background line ready to paste into any stylesheet.

Colour stops can be added, removed and repositioned, so both simple two-colour fades and richer multi-stop designs are covered.

Open the free css gradient generator on Zentpal — free, no sign-in needed, and it runs in your browser.

How to use it

  1. Pick your colours and add stops if you need them.
  2. Set the angle or direction.
  3. Copy the CSS from the output box.

Frequently asked questions

Linear or radial gradient?
This tool builds linear gradients (colour flowing along a line) — the most used kind for buttons, banners and backgrounds. Radial gradients spread from a centre point like a spotlight.

How many colours should a gradient have?
Two is classic and safe; three adds depth. Beyond four, gradients usually turn muddy unless the colours are close relatives on the wheel.

Will the CSS work in all browsers?
Yes — linear-gradient has been universally supported for years. The generated code is the standard syntax, no vendor prefixes needed.

Related free tools

Community feed · Chat rooms · Free tools · Local shops · About · Privacy