Auto black/white text contrast on any colored surface. Browsers without support fall back gracefully.
Each badge picks black or white text automatically based on its background lightness.
Buttons auto-contrast regardless of --btn-color.
Each swatch uses contrast-color() via the -auto tokens.
Change the color and watch text contrast update live.