--MyPalette {
    font-family: "COLR-test-font";
    base-palette: 2;
    override-colors: 3 #FF00FF;
}
</style>
</head>
<body>
<div id="target" style="font: 48px 'COLR-test-font'; font-palette: --MyPalette">A</div>
</body>
</html>
