ROXIE TOOLS Everyday tools, made simple

CSS Gradient Generator

Create a linear or radial gradient from two or more colour stops, adjust the angle or position, preview it at size and copy the exact CSS declaration.

  • Runs in your browser
  • Accepts: colour
  • Produces: CSS
  • Free · No sign-up

Loading the tool…

How to use css gradient generator

  1. Choose a gradient type.
  2. Pick the colour stops and adjust the angle.
  3. Copy the CSS.

Practical examples

A subtle header wash

linear-gradient(135deg, #eef2ff 0%, #ffffff 100%) gives a light indigo fade without looking heavy.

Limitations to know about

  • Banding can appear on gradients spanning very different hues; adding intermediate stops reduces it.
  • The generated CSS relies on browser support for gradients, which is universal in current browsers.

Privacy

This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.

See the privacy policy for how this site handles data.

Related tools

All design tools

Version 1.0.0 · Last updated 2026-12-06 · Processing: local browser