FormReadyPackFree Online Tools for Everyone

CSS Gradient Generator

Preview a two-colour linear or radial gradient and copy valid CSS for a website background.

How to use CSS Gradient Generator

  1. Choose the start and end colours.
  2. Pick a linear or radial gradient. The angle applies to linear gradients.
  3. Copy the CSS declaration into the target element’s stylesheet.

Worked example

Apply linear-gradient(120deg, #071a31, #0f766e) to a header to blend navy into teal.

Frequently asked questions

Do I need to download an image?

No. The gradient is a native CSS background.

Does the angle affect a radial gradient?

No. Radial output is a circle centred in the element.

Can I use this with an existing fallback colour?

Yes. Keep a solid background-colour declaration before the gradient declaration.

Related tools