Web features explorer

color-scheme

Widely available
Tags: css html Groups: CSS

The color-scheme CSS property sets which color schemes (light or dark) an element uses and may prevent automatic dark mode adjustments by the browser. To learn more, see color-scheme at MDN.

Compatibility