CSS Gradient Generator
Create beautiful CSS gradients with a visual editor. Supports linear, radial, and conic gradients with live preview and one-click CSS copy.
What are CSS Gradients?
A CSS gradient is a smooth color transition rendered by the browser's painting engine — no images needed, infinitely scalable, and dynamically animatable. The CSS Images Module defines three types:
linear-gradient (colors blend along a straight line at any angle), radial-gradient (colors blend outward from a point in a circle or ellipse), and conic-gradient (colors rotate around a center, useful for pie-chart effects). All three accept any number of color stops with explicit positions, support modern color spaces like OKLCH, repeat to fill larger surfaces (repeating-linear-gradient), and stack on top of each other for layered effects. This generator builds all three types visually with a live preview at full panel size, then copies the CSS or Tailwind class to your clipboard. Need to pick perfect color stops? Use the Color Picker; want to animate the gradient? Try the CSS Animation Generator.Gradient Preview
Color Stops
0%
100%
Settings
Gradient Type
Angle135deg
Generated CSS
Presets
How to use this tool
- 1Pick a gradient typeChoose linear (most common), radial (for spotlights), or conic (for angular effects). The control panel adapts to the type.
- 2Add and tune color stopsUse the visual stop editor to add colors and drag them along the gradient. Each stop has an exact percentage position.
- 3Adjust angle, position, or shapeLinear gradients take an angle (0–360°). Radial and conic gradients take a position. Tweak until the preview matches your design.
- 4Copy the outputHit Copy CSS or Copy Tailwind. The generated string is paste-ready for your stylesheet or React className.
