CSS Gradient Generator (Pro)

Build multi-stop linear, radial and conic CSS gradients visually, then copy the code.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A visual CSS gradient generator for building production-ready linear, radial and conic gradients without writing the syntax by hand. Instead of guessing colour-stop percentages and angle values in a text editor, you drag stops on a live bar, tune each colour and its opacity, and watch a full-size preview update instantly. When it looks right, copy clean CSS or a Tailwind class, or export the result as an SVG or PNG file.

It is built for front-end developers, designers and anyone styling a website who needs a hero background, a button fill, a card overlay or a decorative pattern. Multi-stop support means you are not limited to two colours: add a third, fourth or fifth stop to create rich blends, brand palettes, or rainbow colour wheels with the conic mode. Six starter presets (Sunset, Ocean, Aurora, Spotlight, Colour wheel and Stripes) give you a quick base to adapt, and a built-in gallery lets you save the gradients you like back to your browser so they are waiting for you next time.

How it works

A CSS gradient is generated by the browser from a small piece of declarative syntax, so there is no image to download and it stays crisp at any resolution. This tool turns that syntax into a direct-manipulation interface. The stop track is a horizontal bar showing the current blend; click anywhere on it to insert a new colour stop, and drag the round handles left or right to change where each colour sits. The selected-stop editor below exposes a colour picker, a hex field, a position slider and an opacity slider for whichever stop is active.

For linear gradients you pick an angle from 0 to 360 degrees (with quick buttons for the common 45-degree steps); for radial gradients you choose a circle or ellipse shape and an origin position; for conic gradients you set a start angle and centre. A repeating toggle wraps the stop sequence to make stripes and patterns. Every change regenerates three outputs at once: a plain background: CSS declaration, a Tailwind arbitrary-value class, and an <svg> document you can drop straight into markup or a design tool. Helper actions let you distribute stops evenly, reverse them, or randomise a fresh palette.

Example

Suppose you want a modern hero background that fades from deep blue to violet on a diagonal. Start from the Aurora preset, drag the middle stop to about 40 percent, set the angle to 120 degrees, and the tool produces:

background: linear-gradient(120deg, #00c6ff 0%, #0072ff 40%, #7b2ff7 100%);

Lower the last stop’s opacity to 0 percent and you instead get a colour-to-transparent overlay perfect for placing text over a photograph. Switch the type to conic with seven evenly spaced rainbow stops and you have a colour-wheel swatch for a picker or loading spinner. Each variation is one click away, and the matching CSS, Tailwind class and SVG are always ready to copy.

Everything is computed locally in your browser — no colours, gradients or exported images are ever sent to a server.

Ad placeholder (rectangle)