Skip to content

Commit 57a344c

Browse files
committed
[css-color-5] arithmetic!
1 parent 0c1a35d commit 57a344c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-color-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -804,12 +804,12 @@ is divided by the interpolated alpha value.
804804
they would first be converted to premultiplied form
805805
[9.6% 4.8% 39.2% ]
806806
and
807-
[37.2% 16.6% 38.4%]
807+
[37.2% 15.6% 38.4%]
808808
before interpolation.
809809
The midpoint of linearly interpolating these colors
810-
would be [23.4% 10.7% 38.8%]
810+
would be [23.4% 10.2% 38.8%]
811811
which, with an alpha value of 0.5,
812-
is <span class="swatch" style="--color: rgb(46.8%, 21.4%, 77.6%, 0.5)"></span> rgb(46.8% 21.4% 77.6% / 0.5)
812+
is <span class="swatch" style="--color: rgb(46.8%, 21.4%, 77.6%, 0.5)"></span> rgb(46.8% 20.4% 77.6% / 0.5)
813813
when premultiplication is undone.
814814
</div>
815815

0 commit comments

Comments
 (0)