File tree 1 file changed +2
-2
lines changed
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
156
156
This example produces a mixture of 40% <span class="swatch" style="--color: peru"></span> peru
157
157
and 60% <span class="swatch" style="--color: lightgoldenrod"></span> lightgoldenrod.
158
158
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>
160
160
161
161
The mixing is done in ''lch()'' colorspace.
162
162
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
192
192
keeps the intermediate colors
193
193
as saturated as the endpoint colors.
194
194
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>
196
196
197
197
<figure>
198
198
<img src="images/CH-mixing3.svg" style="width: 50vmin">
You can’t perform that action at this time.
0 commit comments