About the CSS Gradient Text Generator
Gradient headings are everywhere in modern product sites. The trick is to paint a gradient as the background and clip it to the shape of the text with background-clip: text, then make the text colour transparent. This generator writes that CSS for you, including the -webkit- prefixes some browsers still need.
Choose linear, radial or conic, two or three colours and the angle, preview it at your font size and weight on your background, and optionally add a slow animated shine that switches off for people who prefer reduced motion.
How to use the CSS Gradient Text Generator
- Type preview text and pick the gradient type and colours.
- Adjust angle, size, weight and animation.
- Copy the CSS.
Features
- Linear, radial, conic
- Three-colour option
- Animated shine
- Reduced-motion safe
- Live preview
Supported formats
- Plain text
Frequently asked questions
Is gradient text accessible?
Screen readers read it normally; just make sure both ends of the gradient contrast well with the background.
Are my numbers saved?
No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools