Choose gradient type
Select linear or radial gradient type from the options. The gradient generator updates the preview in real time as you switch between types, showing you exactly how your gradient will look.
Design beautiful CSS gradients with a live visual preview. Choose from linear or radial gradients, pick colors, adjust direction and angle, and see your changes in real time. Copy the generated CSS code instantly. Perfect for web designers and developers creating gradient backgrounds for websites, apps, and UI elements.
Workspace
Use the tool below. Your inputs stay local when the tool supports browser-only processing.
background: linear-gradient(135deg, #0070f3, #00c6ff);Workflow
Select linear or radial gradient type from the options. The gradient generator updates the preview in real time as you switch between types, showing you exactly how your gradient will look.
Add color stops by picking colors using the color pickers. The gradient generator supports two or more color stops with adjustable positions for complete control over your gradient appearance.
Adjust the angle or position, then copy the generated CSS code with one click. The gradient generator creates cross-browser compatible CSS that you can paste directly into your stylesheets.
Linear gradients transition colors along a straight line (specified by angle or direction), while radial gradients transition outward from a central point in a circular pattern. The gradient generator lets you switch between both types to find the perfect effect.
Yes, the gradient generator supports multiple color stops. You can add as many colors as you want and adjust each stop's position independently, giving you complete creative control over the final gradient result.