CSS Radial Gradient Generator
Design radial gradients visually and generate production-ready CSS. Adjust shape, position, size, and color stops with a live preview — all processing happens in your browser.
CSS Gradient Generator
Create beautiful CSS gradients visually. Adjust colors, stops, angles, and copy the CSS.
Color Stops (2)
CSS Output
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
Presets
About CSS Gradients
Linear gradients transition colors along a straight line defined by an angle.0deggoes upward, 90deggoes right, 180deggoes downward.
Radial gradients radiate outward from a center point. Choose between circle(equal radius) and ellipse(stretches to fit the element).
Color stops define where each color appears along the gradient (0% = start, 100% = end). Add more stops for complex multi-color gradients.
What is a CSS radial gradient?
A CSS radial gradient radiates color outward from a central point, creating circular or elliptical color transitions. Defined with the radial-gradient() function, you can control the shape (circle or ellipse), size, center position, and color stops. Radial gradients are perfect for spotlight effects, glowing elements, and organic-looking backgrounds.
Common use cases
Radial gradients are commonly used for spotlight and glow effects behind hero content, circular button highlights, vignette overlays on images, and decorative background orbs in modern web design. They also work well for simulating light sources, creating depth perception, and building abstract background patterns when layered.
Frequently Asked Questions
What is the difference between a circle and ellipse radial gradient?
A circle radial gradient radiates evenly in all directions, forming a perfect circle. An ellipse stretches to match the element's aspect ratio. Ellipse is the default shape, which means the gradient adjusts to the container's width and height.
Can I change the center position of a radial gradient?
Yes. Use the 'at' keyword followed by a position, like 'radial-gradient(circle at top left, red, blue)' or 'radial-gradient(circle at 25% 75%, red, blue)' to place the gradient origin anywhere.