CSS text gradient generator

A CSS text gradient paints a gradient background, clips it to the letters and makes the text color transparent.

Features

  • Two colors and angleLive on a sample headline.
  • Includes prefixThe -webkit- clip property is in the output.
  • Runs in your browserNothing is uploaded and no account is needed.

How to use the text gradient

  1. Choose start and end colors.
  2. Set the angle.
  3. Copy the CSS.

Keep it readable

Both ends of the gradient need enough contrast with the page. Reserve the effect for large text.

Frequently asked questions

Is there a fallback?

Set a solid color first and apply transparency only where clipping is supported.

Does it work on one word?

Yes, wrap it in a span.

Can it animate?

Yes, by animating background-position on a larger gradient.

Related tools