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 c3de94f commit fc5d67eCopy full SHA for fc5d67e
css-color-5/Overview.bs
@@ -1040,7 +1040,7 @@ the allowed [=channel keywords=] are:
1040
This adds 180 degrees to the hue angle, giving a complementary color.
1041
<pre>
1042
--accent: <span class="swatch" style="--color: lightseagreen"></span> lightseagreen;
1043
- --complement: <span class="swatch" style="--color: hsl(357deg 70% 41%)"></span> hsl(from var(--accent) calc(h + 180deg) s l);
+ --complement: <span class="swatch" style="--color: hsl(357deg 70% 41%)"></span> hsl(from var(--accent) calc(h + 180) s l);
1044
</pre>
1045
lightseagreen is hsl(177deg 70% 41%), so --complement is <span class="swatch" style="--color: hsl(357deg 70% 41%)"></span> hsl(357deg 70% 41%)
1046
</div>
0 commit comments