Free online tools to generate, calculate,
convert, format, encode, and play.
 

Gradient Generator

Create CSS gradients visually. Choose gradient type, add color stops, adjust angles, and copy the CSS.


Gradient Type

deg
deg

Presets

Preview

Color Stops

CSS Code


How It Works

CSS gradients let you display smooth transitions between two or more colors. This tool generates the CSS code you need.

Gradient Types
  • Linear: Colors transition along a straight line at a specified angle. Use 90deg for left-to-right, 180deg for top-to-bottom
  • Radial: Colors radiate outward from a center point in an ellipse or circle shape
  • Conic: Colors transition around a center point, like a color wheel. Useful for pie charts and decorative effects
Color Stops
  • Each stop defines a color and its position (0% to 100%) along the gradient
  • Click on the gradient bar to add a new stop at that position
  • Drag stops on the bar to reposition them
  • A minimum of two stops is required to form a gradient
Tips
  • Use analogous colors (neighbors on the color wheel) for smooth, natural gradients
  • Add a middle stop between contrasting colors to avoid a muddy transition
  • Subtle gradients with similar colors work well as backgrounds
  • Try the presets as a starting point, then customize from there

Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with