Re: [csswg-drafts] [css-color-6] color-contrast() should distinguish foreground and background (#7359)

@Myndex I like what you're thinking in terms of arguments and possibly identifying color by its context in CSS (although I'm equally unsure if that's possible). 

I would not recommend multiple contrast formulas, however. The purpose should assist in WCAG compliance, therefore I would expect only their approved formulas. Adding any of these other ones suggests they are acceptable alternatives. 

Also I am curious if you have more information on the chart you've shared. That would likely be better suited in a different thread, but in this context are you illustrating the visible perceived contrast thresholds at various lightnesses? Ie, charting thresholds similarly to as you would in the CSF except using proximal luminance/lightness rather than spatial frequency (assuming frequency is fixed)? Although even that doesn't seem right as it's charting white-on-black and black-on-white, so clarification would be helpful if you have a link to more information 😇

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


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

Received on Tuesday, 9 August 2022 02:01:56 UTC