Soft Duotone
Gradient Fill · Static · pure CSS
A refined two-tone gradient in close, muted hues — the editorial gradient on modern headings, not a bold poster split. Low saturation keeps it tasteful.
How it works
Soft Duotone is a static gradient fill text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.
Controls
Soft Duotone exposes 3 dedicated controls — Hue, Hue Shift and Angle — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.
CSS
/* Soft Duotone — generated with TEXT-FX
* HTML: just put the class on any element.
* Font: 'Space Mono', monospace (load from Google Fonts).
*/
.text-effect {
font-family: 'Space Mono', monospace;
font-weight: 900;
letter-spacing: 0px;
text-transform: uppercase;
}
.text-effect {
background: linear-gradient(90deg, hsl(45 58% 70%), hsl(105 52% 62%));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Gradient Fill
- Type
- Static
- Browser support
- All modern browsers
- Capabilities
- pure