#202 - I found out about color-mix() in CSS, which would be much better for achieving this effect.
It would also work on text/borders and not just backgrounds.
It has 88% on caniuse, but I think I'll use it anyway.
I do care about backwards compatibility, and there are a lot of new web features that seem like bloat, but there are also some cool ones, like this.
I remember wishing I could use :has() some years ago, and now it's widely supported.
My stance might be unprincipled because Firefox is struggling and it may be unreasonable to expect Gecko to keep up with web standards in the long term, but I don't want to be stuck in the past.
Actually, I realised that Firefox 115 ESR which I have to use on Windows 8 doesn't support :has(), so I wasn't able to install a particular browser extension.
That's the point where I draw the line (when it starts to personally impact me).