Instructions · CSS Gradient Generator

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Choose Linear or Radial. Set the angle for Linear, or choose Circle or Ellipse for Radial.
  3. Set each color, opacity and position. Positions run in ascending order. Earlier and Later move colors and opacity between those positions.
  4. 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.