Create beautiful CSS gradients visually. Customize colors, angles, and positions with a live preview.
Gradient Settings
Angle (90°)
Position (0%)
Position (100%)
Preview
CSS Code
The CSS Gradient Generator is a visual tool that helps you create stunning linear and radial gradients for your website backgrounds.
The generated code uses the standard linear-gradient() and radial-gradient() CSS functions, which are supported by all modern browsers.
Linear 135deg: #6366f1 (0%) -> #a855f7 (50%) -> #ec4899 (100%)
background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
Generated 3-stop indigo-purple-pink diagonal gradient.
Yes, the tool outputs both standard CSS rules and Tailwind CSS gradient utilities (e.g. bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500).
Explore more free utilities in CSS
CSS Unit Converter
Convert between Px, Rem, Em, and Percentage units.
Open
CSS Glassmorphism Generator
Generate CSS glassmorphism effects (frosted glass) visually.
Open
CSS Clip-path Generator
Generate CSS clip-path shapes visually.
Open
CSS Loader Generator
Generate CSS-only loading spinners and animations.
Open
CSS Cubic-Bezier Generator
Visually create CSS transition timing functions.
Open
CSS Triangle Generator
Generate pure CSS triangles using borders.
Open