File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ and a percentage of 100% returns the same color converted to the specified color
156156 This example produces a mixture of 40% <span class="swatch" style="--color: peru"></span> peru
157157 and 60% <span class="swatch" style="--color: lightgoldenrod"></span> lightgoldenrod.
158158
159- <pre class="lang-css"> color-mix(in lch peru 40% lightgoldenrod)</pre>
159+ <pre class="lang-css"> color-mix(in lch, peru 40%, lightgoldenrod)</pre>
160160
161161 The mixing is done in ''lch()'' colorspace.
162162 Here is a top-down view, looking along the neutral L axis:
@@ -192,7 +192,7 @@ and a percentage of 100% returns the same color converted to the specified color
192192 keeps the intermediate colors
193193 as saturated as the endpoint colors.
194194
195- <pre class="lang-css"> color-mix(teal 65% olive in lch );</pre>
195+ <pre class="lang-css"> color-mix(in lch, teal 65%, olive);</pre>
196196
197197 <figure>
198198 <img src="images/CH-mixing3.svg" style="width: 50vmin">
You can’t perform that action at this time.
0 commit comments