?
—
—
Layers top = closest to the hardware, bottom = this page
| Level | Signal | Value | Notes |
|---|
Media features live · struck = value not recognised
| Feature | Values |
|---|
Forced dark self-test visual
Both frames paint a plain white box. If A looks dark but B stays white, the browser is force-darkening pages (several browsers ship an automatic dark mode for web content, often behind a settings flag). If both are dark, an extension or an OS color filter / inversion is likely at work. Scripts can’t read these pixels — trust your eyes.
CSS system colors resolved per color-scheme · last column = what the UA actually uses
| Keyword | normal | light | dark | light dark |
|---|
Change log
What can / can’t be detected
- OS vs browser can’t be separated.
prefers-color-schemeis whatever the browser decides to expose: it passes the OS setting through unless the browser overrides it (many browsers have their own appearance or website-theme setting; some only follow the system). - The UA rendering row resolves the
Canvassystem color undercolor-scheme: light dark— an independent read of which palette the browser uses for built-in widgets. - Privacy modes lie on purpose: anti-fingerprinting settings and privacy-hardened browsers may always report
light. - Auto-dark / forced-dark modes usually don’t change computed styles, so only the visual self-test can reveal them.
- Servers can get the same value via the
Sec-CH-Prefers-Color-Schemeclient hint (some engines only, opt-in withAccept-CH) — not visible from a static page. - OS color filters, smart or classic inversion, night light / blue-light filters and monitor settings sit below the browser and are invisible to it
(except where the browser supports
inverted-colors).