blob: 7539e9d583f15e3a39abf3dcd773d3ceb8fe1ce0 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="whitetext-ref.html">
<meta name="assert" content="lch() with no alpha">
<style>
.test { color: red; background-color: #333; padding: 3px;}
.test { color: lch(100% 0 0);} /* white (sRGB #FFFFFF) converted to LCH */
</style>
<body>
<p class="test">Test passes if this text is white</p>
</body>