Gradient Text Generator
Gradient-filled headlines with background-clip: text β colors, angle, size, live.
Gradient Text
.gradient-text {
background: linear-gradient(90deg, #8b5cf6, #ec4899);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
font-size: 42px;
font-weight: 800;
}Generated locally in your browser β nothing is uploaded.
How to Use
- 1
Pick colors and angle
Two or three stops, 0β360Β° direction.
- 2
Set size and weight
Bold, large text shows gradients best.
- 3
Copy the CSS
Both prefixed and standard clip properties included.
Frequently Asked Questions
- A gradient background is clipped to the text glyphs with background-clip: text, and the text color made transparent so the gradient shows through β four declarations the generator emits together.
Related Tools
CSS Gradient GeneratorBuild linear and radial CSS gradients visuallyBox Shadow GeneratorCreate CSS box shadows with a live previewBorder Radius GeneratorGenerate CSS border-radius values visuallyFlexbox GeneratorBuild CSS flexbox layouts with a visual editorCSS Grid GeneratorBuild CSS grid layouts with a visual editorText Shadow GeneratorGenerate CSS text-shadow effects with live previewCSS Animation GeneratorCreate CSS keyframe animations with a live editorClip-Path GeneratorGenerate CSS clip-path polygon shapes visually