Multi-colored fonts, also called chromatic type, remain uncommon on the web even though the COLR format has been supported by every major browser since 2018, Internet Explorer included. The 1982 font made for the unreleased arcade game Insector is credited as the first of its kind. Two developments have made chromatic type practical again: new CSS for controlling palettes, and a more capable version of COLR itself.

Where COLR fits among color formats

Four standards once competed for multicolored type: OpenType-SVG, COLR, SBIX, and CBDT/CBLC. ChromaCheck will report which of them a given browser supports.

  • Chrome has marked OpenType-SVG as wontfix, so Chrome and Edge will never support it.
  • SBIX and CBDT/CBLC are raster-based, so they blur at large sizes; their bitmap file size also rules them out for the web.

The file-size problem is concrete. Ulrike Rausch, creator of the bitmap color font LiebeHeide, built it to reproduce handwriting with a font, but told us that the embedded PNG images balloon the OTF: fine for desktop tools like Adobe InDesign, hardly usable on the web.

All browsers support COLR in its original form, now usually called COLRv0. Chrome and Edge 98, released in February, added COLRv1.

What COLRv1 adds

COLRv1 is part of the OpenType 1.9 standard. COLRv0 could do solid colors only; COLRv1 supports linear, radial and conic gradients, plus compositing and blending, and lets glyphs reuse shapes to keep files smaller.

It also matches the creative reach of OpenType-SVG while avoiding its drawbacks. Roel Nieskens, who once considered SVG the most versatile option, changed his mind: implementing a subset of SVG at the font-rendering level is too complex for a low-level job like text rendering, it interacts poorly with hinting, variable axes and other font tech, and it is painful to implement. COLR, by contrast, reuses everything OpenType already has and adds layering plus the ability to recolor each layer. Akiem Helmling of the foundry Underware sees COLRv1 as potentially matching or exceeding the impact variable fonts had on type design, and calls earlier color formats bad hacks; in his view, SVG data sits in a "locked room" that can't link to other font tables, which makes variable SVG data impossible.

COLRv1 works fully with variable font axes; Merit Badge, Plakato Color and Rocher Color are existing variable COLR fonts. Rausch has also shown an unreleased typeface that recreates a neon sign digitally.

The format is young. Mozilla has not shipped COLRv1 but has taken a positive position, saying it "has the potential to supersede OpenType-SVG fonts in web use," while Apple has been reluctant to implement it in Safari. Where COLRv1 is unsupported, the text still renders, in a single solid color that the CSS color property controls. Few foundries ship COLRv1 faces yet and tools like Figma don't support even COLRv0, but released examples include Reem Kufi and Bradley Initials.

Controlling colors with CSS

Until the font-palette property arrived, CSS had no way to touch a color font's colors. It overrides a typeface's default scheme and applies to both COLRv0 and COLRv1. As Myles Maxfield of Apple notes, SVG fonts can opt in to palettes, whereas a COLR typeface has all of its colors overridden automatically.

Some designers embed alternative palettes in the font, selectable through base-palette. The font's own site may document them; if not, Wakamai Fondue lists every available scheme. Rocher Color, a free variable color font by Henrique Beier, uses four colors and ships eleven palettes: base-palette: 0 is the default (shades of orange and brown), base-palette: 1 the first alternative, and so on.

To apply a chosen palette, define it with the @font-palette-values rule and then reference it from font-palette. To build a palette from scratch — for brand colors, say — override all the colors and omit base-palette; this is what you'd do with Bungee by David Jonathan Ross, a font that uses two colors by default, red and white, and needs both overridden. Alternatively, start from a base-palette and replace only some entries; Rocher's gray palette with one color swapped for a minty green is such a case.

Mapping numbers to parts of the glyph in override-colors is not obvious; expect trial and error. Emoji fonts are fair game too: Twemoji and Noto can be recolored, and Google publishes a demo.

Known gaps

  • CSS custom properties do not work inside @font-palette-values, making declarations that use them invalid.
  • Animations and transitions between font-palette values do not interpolate. Palettes switch instantly; there is no gradual blend.

Safari has supported font-palette and @font-palette-values since version 15.4; Chrome and Edge gained them in version 101.

Two practical uses

Icon fonts. Multi-color icon fonts remain widely used even if no longer the favored technique, and font-palette offers a simpler way to customize them — FontAwesome's Duotone and Material Design's two-tone icons are natural candidates.

Emoji. Nolan Lawson has written about the difficulties of native emoji on the web. The Chrome developer blog describes the common workaround for sites that accept user-generated content:

If you support user generated content, your users probably use emojis. Today it's very common to scan text and replace any emoji encountered with images to ensure consistent cross-platform rendering and the ability to support newer emojis than the OS supports. Those images then have to be switched back to text during clipboard operations.

With wider browser support, COLRv1 emoji fonts would replace that text-to-image-to-text dance, and they stay crisp at any size, while native browser emoji turn blurry and pixelated when enlarged.

Color fonts matter most because of what they are not. Before them, web typographic creativity meant stroke tricks or gradient fills in CSS, or else a vector image — and an image isn't real text: it can't be selected or copied, can't be found with Command+F, isn't read by screen readers or search engines, and needs a design tool open just to change a word. Chromatic type will not be an everyday choice, but it commands attention, which suits landing pages and banners.