Skip to content

Commit f805b23

Browse files
committed
[css-color-5][editorial] Add example with omitted colorspace, #10484
1 parent dd3ab46 commit f805b23

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-color-5/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,16 @@ Mixing Colors: the ''color-mix()'' Function {#color-mix}
236236
If no color interpolation method is specified, assume Oklab.
237237
Otherwise, use the specified colorspace for mixing.
238238

239+
<div class="example" id="ex-omitted-colorspace">
240+
For example, these two are exactly equivalent:
241+
242+
<pre class="lang-css">
243+
color-mix(in oklab, firebrick, goldenrod)
244+
color-mix(firebrick, goldenrod)
245+
</pre>
246+
247+
</div>
248+
239249
<h3 id="color-mix-percent-norm">
240250
Percentage Normalization
241251
</h3>

0 commit comments

Comments
 (0)