Build linear, radial and conic CSS gradients. Runs entirely in your browser — nothing is uploaded.
6 answers to what people ask most about the Gradient Generator.
Design it here, then copy the CSS block and paste it into your stylesheet. The declaration uses background with a linear-gradient, radial-gradient or conic-gradient value.
Linear blends colors along a straight line at an angle, radial spreads outward from a center point, and conic sweeps colors around a center like a color wheel.
Use the add stop button in the color stops panel. You can have up to five stops, and each has its own color and Position slider.
Copy the Tailwind class output. It is an arbitrary-value class such as bg-[linear-gradient(...)] with spaces replaced by underscores, so you can paste it straight into a class list.
135 degrees runs from top-left to bottom-right, and 45 degrees runs from bottom-left to top-right. 90 degrees is left to right and 180 degrees is top to bottom.
Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.
Something not working? Tell us and we'll fix it.
Report an issue