Firefox for Web Developers @webdevs.firefox.com · Apr 14

CSS contrast-color is newly baseline, but it falls short in some areas. Here's how it works, and what to look out for:

96 likes 3 replies

?

Replies

fry69 · Apr 15

Don't miss this gem in this context ->

Firefox for Web Developers · Apr 14

You can often get a better result using this trick with oklch() by @khamer.bsky.social which approximates APCA random-stuff.jakearchibald.com/color-contra...

Christoph Päper · Apr 14

Looks like mixed signals at first sight, but the basic version in Level 5, which takes a single <color> as its argument, is indeed ready to implement. drafts.csswg.org/css-2026/#ro... drafts.csswg.org/css-color-5/...