Re: [csswg-drafts] [css-color-6] `contrast-color()` MVP in Level 5 (#9166)

To summarize for the call, what we need consensus on is:

1. Do we generally agree to ship a very high level `contrast-color()` function focused around calculating a contrasting text color so we can address the most pressing use case while we figure out the specifics for addressing the more complex use cases?
2. What should be UA-dependent and what should be specified for this MVP? The two proposals so far are:
 1. Algorithm is UA-dependent, return value is either `black` or `white` depending on which one produces the maximum contrast as text (@leaverou, @fantasai)
 2. _Everything_ is UA-dependent, including the return value. The only guarantee is that the value returned will be a color that is guaranteed to be readable on the background provided. (@stubbornella)

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9166#issuecomment-1688124086 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 August 2023 12:50:26 UTC