We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9f1dc commit fd77d03Copy full SHA for fd77d03
css-color-5/Overview.bs
@@ -121,7 +121,7 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
121
122
123
<pre class='prod'>
124
- <dfn>color-mix()</dfn> = color-mix( in <<colorspace>> <<color>>{2} && [ <<percentage>> ]?)
+ <dfn>color-mix()</dfn> = color-mix( in <<colorspace>> && <<color>>{2} && [ <<percentage>> ]?)
125
</pre>
126
127
If a percentage is omitted, it defaults to 50% (an equal mix of the two colors).
@@ -181,7 +181,7 @@ and 50% produces an equal mix of both.
181
keeps the intermediate colors
182
as saturated as the endpoint colors.
183
184
- <pre class="lang-css">color-mix(in lch teal 65% olive);</pre>
+ <pre class="lang-css">color-mix(teal 65% olive in lch);</pre>
185
186
<figure>
187
<img src="images/CH-mixing3.svg" style="width: 50vmin">
0 commit comments