Web platform features explorer

color-scheme

Widely available since 2024-08-03
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.

Learning resources on MDN

Browser support

Surveys

Usage (according to Chrome Platform Status)

~16.312% of page loads. More data at chromestatus.