<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@media (max-color-index: 1) {
h1 {
color: red;
}
}
@media (color-index: 0) {
h1 {
color: blue;
}
}
@media (min-color-index: 2) {
h1 {
color: green;
}
}
</style>
</head>
<body>
<h1>CSS @media Feature color-index</h1>
<p><strong>Note</strong>: Check the following</p>
<ul>
<li>If h1 color is blue, then your browser doesn't use a color lookup table.</li>
</ul>
</body>
</html>