From b7e5000d4ff5987cb02dbef6f94eab1fa4b2a091 Mon Sep 17 00:00:00 2001 From: Lea Verou Date: Thu, 20 Oct 2022 16:35:13 -0400 Subject: [PATCH] [css-color-6] Add note wrt multiple contrast algorithms Co-Authored-By: fantasai <725717+fantasai@users.noreply.github.com> --- css-color-6/Overview.bs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css-color-6/Overview.bs b/css-color-6/Overview.bs index 15637b47773..dda3ef7812f 100644 --- a/css-color-6/Overview.bs +++ b/css-color-6/Overview.bs @@ -67,8 +67,11 @@ Computing a Contrasting Color: the ''contrast-color()'' function {#colorcontrast [ [ <> && [ tbd-fg | tbd-bg ] && <>? ] | [ <> && [ tbd-fg | tbd-bg ] && <>, <># ] ) <> = <> + + The only mandatory argument is the base color against which the contrast is computed. This is typically (but not necessarily) a background color.