CSS - color

color is a CSS media feature whose value is the <integer> number of bits per color component (red, green, blue) of the feature. CSS colors can either be defined in hexidecimal format or in an RGB format.

Description  

color is a CSS media feature whose value is the <integer> number of bits per color component (red, green, blue) of the feature. CSS colors can either be defined in hexidecimal format or in an RGB format.

 

Browser Compatibility  

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

 

Specifications  

Specification Status Comment
Media Queries
The definition of 'color' in that specification.
Recommendation Initial definition.

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/color