Design Tool
CSS Gradient Generator
Create stunning CSS gradients with live preview and one-click copy.
Back to All Tools
Settings
%
%
CSS Code
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
Presets
CSS Gradient Guide
CSS gradients let you display smooth transitions between two or more colors. They're defined using CSS functions like linear-gradient(), radial-gradient(), and conic-gradient().
Types of CSS Gradients
- Linear — Colors transition along a straight line at a specified angle
- Radial — Colors radiate outward from a center point
- Conic — Colors rotate around a center point like a color wheel
Tips for Better Gradients
- Use analogous colors for smooth, natural-looking gradients
- Add a middle color stop to avoid muddy transitions
- Use CSS custom properties for reusable gradient themes