Why do we use vs and not just something like this:
color-contrast() = color-contrast( <color> [ , <color>#{2,} [ , to [<number> | AA | AA-large | AAA | AAA-large]]? ]? )
Because for me, the following looks like only maroon is tested to AA and only wheat and bisque are compared.
color-contrast(wheat vs bisque, darkgoldenrod, olive, sienna, darkgreen, maroon to AA)
I think this would be much more readable:
color-contrast(wheat, bisque darkgoldenrod olive sienna darkgreen maroon, to AA)
Why do we use
vsand not just something like this:Because for me, the following looks like only maroon is tested to AA and only wheat and bisque are compared.
I think this would be much more readable: