CSS Gradient Text Generator

Create eye-catching gradient text effects with live preview, multiple gradient types, and instant CSS

🎨 Live Preview
Gradient Text
/* Adjust controls */
⚙️ Controls
Custom Text
Font Size 64px
Font Weight 800
Letter Spacing 0px
Angle / Direction 135deg

How CSS Gradient Text Works

CSS gradient text is achieved using a combination of background, -webkit-background-clip: text, and -webkit-text-fill-color: transparent. The gradient is applied as a background, then the background is clipped to the text shape, making the gradient visible only through the text characters.

This technique works in all modern browsers. The -webkit- prefix is still recommended for maximum compatibility, as the unprefixed background-clip: text property has varying levels of support.

You can use linear gradients for directional color transitions, radial gradients for circular effects emanating from a center point, or conic gradients for sweeping color rotations around a point.

Explore 125+ Free Developer Tools

From CSS generators to JSON formatters — all free, no signup required.

Browse All Tools →