<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>CSS Color 4: CSS Color 4: srgb-linear</title> | |
<style> | |
body { background-color: grey; } | |
.test { background-color: color(srgb 1 1 1); width: 12em; height: 12em; } /* color(srgb-linear 1 1 1) converted to sRGB */ | |
</style> | |
<body> | |
<p>Test passes if you see a single square, and not two rectangles of different colors.</p> | |
<div class="test"></div> | |
</body> |