We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e3e2d commit aedfb0dCopy full SHA for aedfb0d
1 file changed
css-color-5/Overview.bs
@@ -942,15 +942,15 @@ Relative color syntax is only applicable to the non-legacy RGB syntactic forms.
942
<a>legacy color syntax</a> would be incorrect
943
944
<pre>
945
- rgba(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
+ rgba(from <span class="swatch" style="--color: darkblue"></span> darkblue 16 32 b / 0.5 )
946
</pre>
947
</div>
948
949
<div class="example">
950
Instead, use
951
952
953
- rgb(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
+ rgb(from <span class="swatch" style="--color: darkblue"></span> darkblue 16 32 b / 0.5 )
954
955
956
This takes the sRGB value of darkblue (0 0 139) and replaces
0 commit comments