Windows 11 seems a bit better on this front than 10. I don't use either very often (mostly for gaming and sometimes at work) but I have yet to see the active window having the same color as a background one, or even be unable to tell where one window stops and the other begins.