CSS gradient generator

Your workspaceProcessed on your device

2–10 stops, sorted by percentage in the output. Equal positions create a hard edge and retain their listed order. Transparency is shown over a checkerboard. Color channels use 8-bit sRGB; decimal alpha is preserved in RGBA output.

A few things to know.

Supports standard CSS color names and numeric HEX/RGB/HSL colors and stop positions from 0 to 100%. Stops are sorted by position; equal positions retain their listed order and can create hard edges. Radial gradients use a circle at the center. Browser color interpolation and output displays can differ; this is not a print-color workflow.

  1. Choose linear or radial and start with a preset or your own colors.
  2. Edit stop colors and percentages, add or remove stops, or reverse them.
  3. Review the preview, then copy the CSS background or download a stylesheet.