Skip to content

Commit 38c4a6e

Browse files
waactonsvgeesus
authored andcommitted
Fix LCH alpha interpolation example
The example LCH interpolation with premultiplied alpha at https://www.w3.org/TR/css-color-4/#ex-premultiplied-lch un-premultiplies the hue component.
1 parent db07383 commit 38c4a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-color-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4867,7 +4867,7 @@ Interpolating with Alpha</h3>
48674867
along the ''shorter'' hue arc (the default) would be
48684868
[29.4365% 40.563 31.82]
48694869
which, with an alpha value of 0.5,
4870-
is <span class="swatch" style="--color: rgb(83.918% 44.583% 0% / 0.5)"></span> lch(58.873% 81.126 63.64) / 0.5)
4870+
is <span class="swatch" style="--color: rgb(83.918% 44.583% 0% / 0.5)"></span> lch(58.873% 81.126 31.82) / 0.5)
48714871
when premultiplication is undone.
48724872

48734873
</div>

0 commit comments

Comments
 (0)