FreeDev Tools

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. 1

    Pick colors and angle

    Two or three stops, 0–360Β° direction.

  2. 2

    Set size and weight

    Bold, large text shows gradients best.

  3. 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.