CSS Gradient Generator

Visually generate linear, radial, and conic gradients with custom color stops and preset templates. One-click copy CSS code.

Configuration

deg
Color Stops
%
%
Preset Templates

Live Preview

Code Output

Usage Guide

Features

CSS Gradient creates smooth color transitions in element backgrounds. This tool supports three gradient types: linear-gradient, radial-gradient, and conic-gradient, with configurable color stops and angles, plus commonly used preset templates.

Steps

Select gradient type (linear/radial/conic), adjust angle (visible for linear and conic), click color swatches or type HEX values, drag sliders to set stop positions, click "Add Stop" to add colors, click "Copy CSS" to get code, or click preset templates below to quickly apply color schemes.

Notes

At least 2 color stops required; no upper limit but recommended not to exceed 10 for best effect; position range is 0-100%; HEX values must match #RRGGBB format; radial gradients do not support angle configuration; conic gradients calculate angle clockwise from the top; preset templates override all current stops.