All Tools

CSS Gradient Generator

Create CSS gradients visually

Preview

Color Stops

Presets

Advertisement Space
CSS Gradient Generator: A CSS gradient generator lets you build linear and radial color gradients visually and copy the exact CSS. Add color stops, set the angle or shape, preview live, and copy production-ready background: linear-gradient(...) code.

Frequently Asked Questions

How do I create a CSS gradient?
Choose two or more colors, set them as color stops, pick a direction or angle, and copy the generated linear-gradient or radial-gradient CSS. Paste it into any element's background property.
What is the difference between linear and radial gradients?
A linear gradient transitions colors along a straight line at a chosen angle, while a radial gradient radiates outward from a center point in a circle or ellipse.
Can I use more than two colors in a gradient?
Yes. Add as many color stops as you like and position each one by percentage. Multi-stop gradients create rich, layered backgrounds and smooth multi-color blends.
How do I make a gradient go diagonally?
Set the linear-gradient angle to 45deg (or 135deg) so the color transition runs corner to corner instead of straight across or straight down.
📤 Share This Tool
Found this useful? Share with friends!

Answers, not just a number

Short, exact answers to the questions people ask alongside this tool — the number first, then the working.

For teams, not just visitors

Want this calculator on your own site?

We build the calculators on SnoopTool as embeddable widgets in your branding, wired to your own lead form — the same maths, your colours, your domain, your leads. Tell us which one and we will send back a working demo you can put in front of your team.

One reply from a person, within one business day. No newsletter, no sequence. See our privacy policy.