CSS Gradient Generator
Build linear, radial, and conic CSS gradients visually, with a live preview and copyable CSS output.
About This Tool
Builds a CSS linear-gradient(), radial-gradient(), or conic-gradient() value from any number of color stops. Drag each stop position slider, pick its color, and the preview box and generated CSS update together: copy the result straight into a background declaration.
Generates standard gradient function syntax without external runtime dependencies or network requests.
Key Features
- 3 gradient types: Linear (with angle), radial (circular), and conic (angular sweep).
- Unlimited color stops: Add or remove stops freely, each with its own color and 0-100% position.
- Automatic stop sorting: Stops are always rendered in position order in the generated CSS, regardless of order added.
- Live preview: The preview box renders the exact gradient the CSS output describes.
- One-click copy: Copies the full background declaration directly.
- Fully client-side: Nothing is sent to a server: pure in-browser formatting.