Skip to content

Commit 59972ba

Browse files
committed
whoops
1 parent 4a65f42 commit 59972ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-color-5/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,15 +1094,15 @@ Relative color syntax is only applicable to the non-legacy RGB syntactic forms.
10941094
<a>legacy color syntax</a> would be incorrect
10951095

10961096
<pre>
1097-
rgba(from <span class="swatch" style="--color: darkblue">darkblue 16 32 b / 0.5</span> )
1097+
rgba(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
10981098
</pre>
10991099
</div>
11001100

11011101
<div class="example">
11021102
Instead, use
11031103

11041104
<pre>
1105-
rgb(from <span class="swatch" style="--color: darkblue">darkblue 16 32 b / 0.5</span> )
1105+
rgb(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
11061106
</pre>
11071107

11081108
This takes the sRGB value of darkblue (0 0 139) and replaces

0 commit comments

Comments
 (0)