Text Gradient Generator
Clip a linear, radial or conic gradient to text. Edit color stops and export CSS with a solid fallback for unsupported browsers and print.
Clip a Gradient to Text With a Solid Fallback
Text Gradient Generator: how to use it
- Enter sample text, choose the font and select a gradient type.
- Set two to five hex color stops, adjust the angle or center, and choose an opaque fallback color.
- Compare the effect over light and dark backgrounds. Copy or download CSS and apply the tm-gradient-text class.
Limits and notes
The preview uses system fonts available on your device. The CSS export contains a class rule and the chosen font settings. It leaves the preview text out of the source file. Gradient stops use sRGB hex with optional alpha and interpolate in sRGB. The preview background and sample text are workspace controls.
How your privacy works →Text Gradient Generator: common questions
What happens if a browser cannot clip a gradient to text?
The exported class starts with the chosen opaque color. The gradient and transparent lettering are applied only when the browser supports both the clipping and gradient syntax.
Can I add a hard edge between colors?
Yes. Give two stops the same position. Stops are sorted by position and equal positions keep their entry order.
Why is the print result solid?
The stylesheet uses the fallback color in print. Forced-color mode uses the system text color.