COLRv1 is a promising new standard for color fonts that allows for SVG-like features such as gradients but using glyph data instead of embedded images. This reduces the bulky filesize of an OpenType SVG font, and opens the possibility of gradients in variable color fonts.
As of this writing, COLR v1 is supported in Chrome Canary when chrome://flags/#colr-v1-fonts
is enabled. More instructions and information are in the Gradients for COLR/CPAL Fonts specification.
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
CSS font-palette
allows you to modify a color font’s palette using CSS. As of this writing, it is supported by the Safari Technology Preview.
Lorem ipsum
@font-palette-values --MyPalette {
font-family: "Bradley Initials DJR Web";
base-palette: 3;
}
Lorem ipsum
@font-palette-values --MyOverridePalette {
font-family: "Bradley Initials DJR Web";
override-colors: 0 yellow;
}