You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-color-5/Overview.bs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1335,6 +1335,9 @@ the allowed [=channel keywords=] are:
1335
1335
* <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the
1336
1336
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1337
1337
1338
+
<wpt>
1339
+
relative-currentcolor-lch-01.html
1340
+
</wpt>
1338
1341
1339
1342
<div class="example">
1340
1343
''lch(from peru calc(l * 0.8) c h)'' produces a color that is 20% darker than <span class="swatch" style="--color: peru"></span> peru or lch(62.2532% 54.0114 63.6769), with its chroma and hue left unchanged.
@@ -1471,6 +1474,10 @@ the allowed [=channel keywords=] are:
1471
1474
* <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the
1472
1475
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1473
1476
1477
+
<wpt>
1478
+
relative-currentcolor-oklch-01.html
1479
+
</wpt>
1480
+
1474
1481
Because Oklch is both perceptually uniform and chroma-preserving,
1475
1482
and because the axes correspond to easily understood attributes of a color,
0 commit comments