function
Palette mix() — CSS reference
Interpolates two font palettes for color fonts using a color interpolation space. Weights can be explicit percentages. Palette selection affects glyphs only if the font supplies suitable color palettes; computed acceptance is not proof of color-glyph rendering.
Formal Syntax & Structure
css syntaxcss
palette-mix(in oklab, normal 50%, dark 50%)Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>palette-mix()</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{font-palette:normal;font-palette:palette-mix(in oklab, normal 50%, dark 50%)}</style><body><div id="a">Example</div></body></html>