Instructions · CSS Gradient Generator
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Choose Linear or Radial. Set the angle for Linear, or choose Circle or Ellipse for Radial.
- Set each color, opacity and position. Positions run in ascending order. Earlier and Later move colors and opacity between those positions.
- Choose Copy CSS or Download CSS. Open Sample or a JSON preset to start from saved settings.
Linear and centered radial CSS gradients with 2 to 16 stops. Presets use the tool’s JSON format.