@font-palette-values

An at-rule that lets you define your own custom color palettes for a color font (like an icon font or emoji font) by overriding its default colors.

Quick example

@font-palette-values --my-palette {
  font-family: 'MyColorFont';
  base-palette: 0;
  override-colors: 0 #ef4444, 1 #3b82f6;
}

@font-palette-values Browser Support

Widely available Since 2022 94% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.

Safe to use without fallbacks.

101+
107+
15.4+
101+
ESC