Skip to content

Commit fd77d03

Browse files
committed
[css-color-5] color-mix: Allow color space argument to be in any order
1 parent aa9f1dc commit fd77d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-color-5/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
121121

122122

123123
<pre class='prod'>
124-
<dfn>color-mix()</dfn> = color-mix( in <<colorspace>> <<color>>{2} && [ <<percentage>> ]?)
124+
<dfn>color-mix()</dfn> = color-mix( in <<colorspace>> && <<color>>{2} && [ <<percentage>> ]?)
125125
</pre>
126126

127127
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.
181181
keeps the intermediate colors
182182
as saturated as the endpoint colors.
183183

184-
<pre class="lang-css">color-mix(in lch teal 65% olive);</pre>
184+
<pre class="lang-css">color-mix(teal 65% olive in lch);</pre>
185185

186186
<figure>
187187
<img src="images/CH-mixing3.svg" style="width: 50vmin">

0 commit comments

Comments
 (0)