blob: 0e2f9263dfb3c0f459d022198a155fe49cd753fb [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>