blob: d1dce30c8ef85e0d5e536f261ad872185ac0e5f0 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: hwb</title>
<link rel="author" title="Sam Weinig" href="mailto:weinig@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hwb-notation">
<link rel="match" href="greensquare-ref.html">
<meta name="assert" content="hwb() with no alpha">
<style>
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: hwb(120 0% 49.8039%); } /* green (sRGB #008000) converted to hwb */
</style>
<body>
<p>Test passes if you see a green square, and no red.</p>
<div class="test"></div>
</body>