Create beautiful gradients visually, or paste your code to edit existing ones
Preview shape doesn't affect your generated code
Paste any CSS containing gradients or background colours. We'll detect them and let you edit visually.
Paste CSS code on the left to detect and edit gradients
Paste code above to see updated output here
CSS gradients let you create smooth colour transitions without images. They're resolution-independent, fast to render, and fully controllable through code. This tool helps you build them visually and generates production-ready CSS.
A linear gradient transitions between colours along a straight line. You control the direction (using keywords like to right or angles like 135deg) and the colour stops.
background: linear-gradient(to right, #6366F1, #EC4899);
A radial gradient radiates outward from a centre point. You can create circular or elliptical shapes, and control where the gradient starts.
background: radial-gradient(circle, #6366F1, #EC4899);
Gradients aren't limited to two colours. Add as many stops as you need to create complex transitions. Each stop can include an optional position percentage.
background: linear-gradient(to right, #667eea 0%, #764ba2 50%, #f093fb 100%);
CSS gradients are supported in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. No vendor prefixes are needed for current browser versions.
Looking for CSS Grid? Use our CSS Grid Generator to build grid layouts visually, or explore our free learning path to master CSS Grid from scratch.