A display heading can change appearance even when the CSS text colour stays the same. With a colour font, some glyph colours come from the font’s own palette rather than behaving like a single ordinary foreground colour.
The CSS font-palette property documented by MDN provides a way to select or customise supported font palettes. Values include the font’s normal palette and, where available, palettes intended for light or dark backgrounds. A custom palette can be defined with @font-palette-values.
Test the actual glyphs
Do not judge a palette only from a specimen containing three large letters. Try the words that will appear on the page, including numerals, punctuation and the languages your audience uses. Some characters may expose a different visual balance or fall back to another font.
A practical test sheet can show the same heading on a white card, a dark banner and a muted image background. Add the smallest size at which the heading will appear. A decorative internal colour that looks attractive at poster size may become difficult to distinguish on a phone.
Keep the design choice explicit
If your design system has a dark theme, treat palette selection as part of that theme’s typography decisions. Changing the surrounding text colour is not a reliable substitute for checking the colour font itself. Also inspect selection, focus-adjacent content and any high-contrast or forced-colour environment relevant to your users.
Prepare a readable fallback font and test what happens when the colour font fails to load. The heading should still communicate its words and fit the layout. Avoid using a particular internal colour as the sole signal for a status or instruction.
For a first experiment, use a colour font on one short heading rather than across every paragraph. Record the chosen font file, palette and backgrounds together. That gives a future maintainer something concrete to reproduce when the brand colours change, instead of a screenshot that says only “make it look like this”.

