← Back to Articles
Design Guide

Gradient Text Effects: CSS Gradient Text and Image Text

Why gradient text is popular

Flat-color headlines get dull; gradient text "glazes" type with two or three colors for instant modern energy.

CSS gradient text

Use background: linear-gradient(...) with -webkit-background-clip: text and color: transparent to fill text with a gradient. For the full recipe see CSS gradient backgrounds.

Image gradient text

Place white headlines over a Mesh gradient or Holographic base, or mask the gradient to show only in the text area, great for posters and social. Add Glitch texture for energy.

Color and readability

  • Light base uses dark gradient text; dark base uses bright gradient text.
  • Do not make the gradient span too wide or text turns gray.
  • Keep a stroke or shadow on key headlines for contrast.
💡
On 365Lab generate a base with the gradient generator or Sunburst and export it as mask material.

Related generators

Keep reading