Skip to main content

CSS Gradient Text Generator

Generate CSS code to apply gradients to text. Preview colors, direction, and range adjustments in real time.

Gradient Text
0%
100%
.gradient-text {
  background: linear-gradient(to right, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 48px;
  font-weight: 700;
}
Share this tool
📖

How to Use

Step 1

Enter Text

Enter Text

Enter the text to apply a gradient to

Step 2

Set Gradient

Set Gradient

Adjust gradient colors, direction, type, etc.

Step 3

Copy CSS

Copy CSS

Copy the generated CSS code

Features

Real-time Preview

Preview gradient text in real time

Various Gradients

Support linear, radial, conic gradients with multiple color stops

Presets Included

Apply popular gradient presets with one click

FAQ

A CSS technique using background-clip: text to apply gradient backgrounds to text.