blob: c3bbd14f5078406449dbf6ec1cd6b5999ef26e2c [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="lab-006-ref.html">
<meta name="assert" content="lch() with no alpha, positive b axis">
<style>
.test { color: red; }
.test { color: lch(70 70 90)}
.match { color: rgb(76.62%, 66.36%, 5.58%)} /* lch(70 70 90) converted to sRGB */
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
</body>