inverted-colors

The inverted-colors CSS @media media feature can be used to apply styles based on whether the user agent or underlying OS is inverting colors.

Syntax

The inverted-colors feature is specified as a keyword value chosen from the list below.

none
Colors are displayed normally.
inverted
All pixels within the displayed area have been inverted.

Specifications

Specification Status Comment
Media Queries Level 4
The definition of 'inverted-colors' in that specification.
Candidate Recommendation Deferred to Media Queries Level 5.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support No support No support No support No support (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support No support No support No support (Yes)

Document Tags and Contributors

 Contributors to this page: cookiecrook, mfluehr, Sebastianz, notetienne, kscarfone, cvrebert
 Last updated by: cookiecrook,