Design

CSS Gradient

Generate beautiful CSS gradients with live preview.

Angle90°

Color Stops (2/6)

Position0%
Position100%

Generated CSS

background: linear-gradient(90deg, #58A6FF 0%, #1D9E75 100%);

Presets

Ad Slot 320x50

How it works

A powerful CSS gradient generator that helps you create beautiful, custom gradients for your web projects. Design linear, radial, and conic gradients with an intuitive visual interface.

The tool supports three gradient types: linear gradients with customizable angles from 0 to 360 degrees, radial gradients that radiate from the center, and conic gradients that sweep around a central point. Switch between types instantly to see how your design changes.

Add up to 6 color stops to create complex multi-color gradients. Each stop has a color picker for precise color selection and a position slider to control where the color appears in the gradient. Drag stops to reorder them and create smooth color transitions.

The large preview box updates in real-time as you adjust your gradient, showing exactly how it will look when applied to an element. The preview area is 200px tall to give you a clear view of your creation.

The generated CSS is displayed in a clean code block, ready to copy and paste into your stylesheets. The output includes the complete background property with all your gradient settings.

Jump-start your designs with 8 beautiful preset gradients: Sunset (warm oranges and pinks), Ocean (cool blues and teals), Forest (natural greens), Fire (hot reds and yellows), Purple Rain (deep purples), Candy (playful pastels), Midnight (dark blues), and Gold (luxurious yellows). Click any preset to load it and customize from there.

Perfect for web designers, frontend developers, and anyone who needs to create attractive backgrounds, buttons, overlays, or decorative elements. The gradients work in all modern browsers and follow CSS standards.

Related tools

More from Design