Skip to main content
7BBusyBoss

CSS Gradient Text Generator — Colorful Text

Generate two-color linear gradient text with live angle and size preview. Copy ready CSS with the -webkit- prefix for cross-browser compatibility.

No limitsZero data leaksSuper fast
90°
56px
Gradient text
background: linear-gradient(90deg, #3b82f6, #ec4899);
-webkit-background-clip: text;
background-clip: text;
color: transparent;

You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.

Browse all Design Generators
About this tool

Gradient backgrounds hide behind text, not inside it

A background: linear-gradient(...) paints the element box, not the letters. The text stays black or whatever color you set—the gradient lives underneath and vanishes behind each letter. You get a gradient rectangle with opaque text on top, not gradient text.

To make the gradient appear as the text itself, you need background-clip: text. This CSS property clips the background image to the text shape. Then pair it with color: transparent to erase the text layer and expose the clipped gradient behind it. The result: letters filled with gradient.

The text becomes invisible if background-clip is not supported

Internet Explorer 11 and older Android browsers do not recognize background-clip: text. On those devices, the text turns transparent—but there's no clipped gradient to show through. You get invisible text. Modern browsers from roughly 2013 onward support this property. There is no CSS-only fallback that preserves the gradient; a fallback text color either blocks the gradient or reads as a broken design on new browsers.

This tool emits the -webkit- prefix for mobile Safari

The generated CSS includes both -webkit-background-clip: text and the standard background-clip: text. Mobile Safari requires the vendor prefix; the standard declaration ensures compatibility with Firefox, Chrome, and Edge. The tool also manages the angle (0° to 360°) and font size (16 to 120 px), so you can dial in the gradient direction and preview the effect at actual render size before copying.

Two-color linear gradients only; radial and multi-stop are out of scope

This tool creates linear gradients from exactly two colors. Three-color fades, radial gradients (circular or elliptical), and conic gradients require hand-written syntax pasted into background. The angle control works only for linear direction; radial and conic gradients need CSS you would normally write by hand. The tool is intentionally narrow: it solves the most common case—a two-color fade in any direction across the text.

For other visual effects, see the Glassmorphism Generator or the CSS Animation Generator.

How to use the Gradient Text Generator

Takes about a minute. No signup, no download, your data stays in your browser.

  1. 1
    Open the tool. Scroll up to the Gradient Text Generator above — it loads instantly in your browser, no install needed.
  2. 2
    Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
  3. 3
    Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.

Frequently asked questions

Common questions about the Gradient Text Generator.

Which browsers support background-clip: text?

Firefox, Chrome, Safari, and Edge support background-clip: text since roughly 2013–2017. Internet Explorer 11 and older Android browsers (before version 6) do not. Mobile Safari requires the -webkit-background-clip: text prefix. The tool generates both the prefixed and standard versions automatically.

Why does the text disappear when I use this CSS?

If the text vanishes, background-clip: text is likely not supported in your browser, or color: transparent is hidden by a CSS rule higher in your cascade. Check your browser's DevTools and look for conflicting color rules. If you are testing in Internet Explorer or very old mobile browsers, background-clip is not available and the text will always be invisible.

Can I use more than two colors?

This tool is limited to two-color gradients. If you need three or more color stops, edit the linear-gradient() value manually. For example, change linear-gradient(90deg, #3b82f6, #ec4899) to linear-gradient(90deg, #3b82f6, #06b6d4, #ec4899). The same background-clip: text and color: transparent rules apply.

Do radial or conic gradients work with this approach?

Yes, but you must write the CSS by hand. Radial gradients use radial-gradient(circle, ...) and conic gradients use conic-gradient(...). Pair either with background-clip: text and color: transparent exactly as shown. This tool generates linear gradients only; radial and conic require manual syntax.

Community rating

Discussion (0)

No comments yet. Start the discussion.