Generate beautiful CSS gradients. Copy with one click.
A CSS gradient is a smooth transition between two or more colors, used as a background image in CSS. Gradients can be linear (straight line), radial (circular), or conic (around a center point).
Copy the generated CSS code and paste it into your stylesheet as a background property. For example: background: linear-gradient(135deg, #667eea, #764ba2);
Linear gradients transition along a straight line at a specified angle. Radial gradients radiate from a center point outward in a circle or ellipse. Conic gradients rotate around a center point like a color wheel.
Yes! Use background-clip: text and -webkit-text-fill-color: transparent to apply a gradient to text. GradientLab generates standard background gradients, but the CSS works for text too.
Linear and radial gradients are supported in all modern browsers (Chrome, Firefox, Safari, Edge). Conic gradients have excellent support in modern browsers but may need a fallback for older versions.
CSS gradients support unlimited color stops. GradientLab lets you add as many as you need. For smooth gradients, 2-4 stops usually look best.
๐ ๏ธ More Free Developer Tools
All free. All open source. Built by Mack.