No Login Data Private Local Save

font‑palette CSS Playground - Online Color Fonts Explorer

6
0
0
0
Font Palette Playground
CSS color fonts explorer
Color Fonts Rock! 🎨

        
Tip: Color fonts (COLRv1) are supported in Chrome 101+, Edge 101+, Firefox 107+, and Safari 17+. Try different palettes to see the font transform!
Frequently Asked Questions
What is CSS font-palette?

The font-palette CSS property allows you to select a specific color palette from a color font (like COLRv0/v1 or SVG fonts). Color fonts contain multiple built-in palettes—such as normal, light, and dark—and you can switch between them or create entirely custom palettes using @font-palette-values.

What are color fonts (COLRv1)?

Color fonts are font files that include multiple colors, gradients, and even layered designs within the glyphs themselves. COLRv1 is the modern W3C standard for color fonts, supporting gradients, blends, and rich multi-colored glyphs. Popular COLRv1 fonts include Nabla, Bungee Spice, Foldit, and Honk, all available on Google Fonts.

How does @font-palette-values work?

The @font-palette-values at-rule lets you define a custom color palette for a specific font family. You can set a base-palette (0 for normal, 1 for light, 2 for dark) and then use override-colors to replace specific color slots with your own colors. Each slot is referenced by its index (0, 1, 2, etc.) and corresponds to a specific color layer in the font's design.

How many color slots does each font have?

It varies by font. Nabla has approximately 10 color slots (indices 0–9), while Bungee Spice has around 5–6 slots. The slots typically represent different parts of the glyph—shadows, midtones, highlights, outlines, and fill colors. Experiment with the color pickers above to discover how each slot affects the rendered text!

Which browsers support font-palette?

As of 2024, font-palette and @font-palette-values are supported in Chrome 101+, Edge 101+, Firefox 107+, and Safari 17+ (with partial support from Safari 15.4). On unsupported browsers, color fonts will still render using their default palette—a graceful fallback.

Can I use font-palette with regular (non-color) fonts?

No. The font-palette property only works with color fonts (COLRv0, COLRv1, or SVG fonts). Regular monochrome fonts (like Arial, Roboto, or Inter) don't have color palettes to switch. If you apply font-palette to a regular font, it will simply be ignored.

Where can I find more color fonts?

Google Fonts has a growing collection of COLRv1 color fonts—search for "color" in the Google Fonts library or filter by the "Color" technology tag. Some excellent options include Nabla, Bungee Spice, Foldit, Honk, Linefont, Video, and Noto Color Emoji (for emoji rendering). You can also find color fonts on independent foundries and font marketplaces.

What's the difference between base-palette 0, 1, and 2?

These correspond to the font's built-in palette variations: 0 = normal (the default, often vibrant), 1 = light (typically pastel or lighter tones), and 2 = dark (darker, moodier colors). Not all fonts define all three—some may only have palette 0. Using @font-palette-values, you can base your custom palette on any of these and then override specific slots.