CSS - inverted-colors

inverted-colors is a CSS media feature that can be used to check whether the user agent or underlying OS is inverting colors.

Description  

inverted-colors is a CSS media feature that can be used to check whether the user agent or underlying OS is inverting colors.

Browser Compatibility  

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

Specifications  

Specification Status Comment
Media Queries Level 4
The definition of 'inverted-colors' in that specification.
Working Draft Initial definition

 

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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/@media/inverted-colors

CSS NeedsBrowserCompatibility NeedsExample Reference