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 096d87d commit b52c649Copy full SHA for b52c649
css-color-5/Overview.bs
@@ -753,6 +753,10 @@ Selecting the most contrasting color: the ''color-contrast()'' function {#colorc
753
(typically a background, but not necessarily),
754
secondly, a list of two or more colors,
755
and thirdly, an optional target <a href="https://www.w3.org/TR/WCAG21/#contrast-minimum">luminance contrast</a> [[!WCAG21]].
756
+ It <a href="#winner">returns</a> the first color in the list
757
+ to meet or exceed the specified target contrast
758
+ or, if no target is given,
759
+ the color in the list with the greatest contrast.
760
761
The single color is separated from the list
762
with the keyword <css>vs</css>
0 commit comments