Duotone Fill

Gradient Fill · Static · pure CSS

A crisp two-color split gradient filling the glyphs via background-clip. Bold, poster-like, and endlessly recolorable by hue.

Duotone Fill

How it works

Duotone Fill 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

Duotone Fill exposes 3 dedicated controls — Hue, Angle and Spread — 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

/* Duotone Fill — made with TEXT-FX · https://text-fx.app
 * HTML: just put the class on any element.
 * Font: 'Space Grotesk', sans-serif (load from Google Fonts).
 */

.text-effect {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: none;
}

.text-effect {
  background: linear-gradient(45deg, hsl(208 60% 66%) 0%, hsl(208 60% 66%) 58%, hsl(243 60% 58%) 58%, hsl(243 60% 58%) 100%);
  -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
background-clip:text (all modern, -webkit- prefixed)
Capabilities
pure

Related Gradient Fill effects