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 57fe500 commit b7e5000Copy full SHA for b7e5000
css-color-6/Overview.bs
@@ -67,8 +67,11 @@ Computing a Contrasting Color: the ''contrast-color()'' function {#colorcontrast
67
[ [ <<color>> && [ tbd-fg | tbd-bg ] && <<target-contrast>>? ] |
68
[ <<color>> && [ tbd-fg | tbd-bg ] && <<target-contrast>>, <<color>># ] )
69
<<target-contrast>> = <<wcag2>>
70
+ <!-- Allow multiple algorithms in the future by using && operator instead of | for <<target-contrast>> additions.
71
+ See resolution in #7357 -->
72
</pre>
73
74
+
75
The only mandatory argument is the <dfn lt="contrast base color" local-lt="base color">base color</dfn>
76
against which the contrast is computed.
77
This is typically (but not necessarily) a background color.
0 commit comments