Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
color-index media feature

color-index media feature

Describes the number of entries in the color lookup table of the output device. If the device does not use a color lookup table, the value is zero.

Possible values

  • Value: <integer>
  • Applies to: visual media types
  • Accepts min/max prefixes: yes


The specified integer value cannot be negative.


The following two declarations indicate that a style sheet applies to all color index devices.

@media all and (color-index) { 
@media all and (min-color-index: 1) {  

The following declaration indicates that a style sheet applies to a color index device with 256 or more entries.

<?xml-stylesheet media="all and (min-color-index: 256)" href="http://www.example.com/..." ?>



© 2015 Microsoft