Huefold

CSS text gradient

Give your words a little color. Keep them readable.

Make room
for color.

Preview on white. Output uses your colors, not an automatic contrast correction.

Paste-ready text CSS

Apply class="gradient-text" to your heading or text element. Your words stay ordinary, selectable text. Free to use; no sign-up.

Contrast matters across every letter

There is no single contrast ratio for a multi-color heading. Check the weakest color against the actual background. WCAG AA calls for at least 4.5:1 for normal text, or 3:1 for large text (at least 24px regular or about 18.7px bold). This preview does not certify your chosen colors.

Support and the fallback

The CSS first sets a solid text color. Only browsers supporting text background clipping and the chosen gradient syntax receive the transparent fill. Forced-colors mode restores ordinary text using the system CanvasText color. Printing restores the solid color so a missing background does not erase the words. Test with backgrounds disabled and in your target browsers.

MDN background-clip compatibility and the WCAG contrast guidance describe the support and requirements. No minimum browser version is claimed. User text is local and is not included in a share address.