color-scheme Meta Tag — declare light and dark support
TL;DR
The color-scheme meta tag tells the browser which color schemes (light, dark or both) your page supports, before it starts rendering. The browser can then theme scrollbars, form controls and the page background to match, with less flash of un-themed content.
Explain Simply
It is a note on the door saying "we have a day room and a night room", so the building turns the lights to match before you walk in.
Chrome's Modern Web Guidance guide on dark mode (developer.chrome.com/docs/modern-web-guidance/guides/visual-design/dark-mode) says the color-scheme property indicates which color schemes (such as light or dark) a page supports, so the browser can automatically theme native UI elements like scrollbars, form controls and the default canvas background. To help prevent a flash of un-themed content (FOUC), the guide asks for a meta tag in the head, so the browser knows which themes you support before it starts rendering, and for the color-scheme CSS property on the html element or :root. It adds that the meta tag may not remove every flash.
<meta name="color-scheme" content="light dark">
<style>:root { color-scheme: light dark; }</style>
See the Modern Web Guidance wiki page for the other guides CiteStat maps.
⚡Why It Matters
A dark-mode visitor who gets a white flash before the page themes itself sees a rough page load. It is a polish detail for the visitor, not a ranking signal.
🔍How CiteStat Checks
CiteStat looks for a meta tag named color-scheme in the served HTML, with any content. It is reported, not scored: a site that does not offer a dark theme gets an advice-level finding, not a fault.
CiteStat Score Impact
Reported, not scored: the rule never moves the headline score or a category card.
Fix Difficulty
Editor: Easy | Developer: Easy | AI Agent: Easy