I had the same issue, I am using opera gx and I had a setting activated called Force Dark Pages and with it on it made it so the colors where inverted. So if you are using opera gx maybe that would work or check if you have something that forces dark pages.
Reverse colors

I also have the same issue, turning off/on force dark pages didnt do anything
Did you install any other extensions which could be interfering?
Does Opera have an incognito mode?

I realized the problem, I had to manually click on configuration for force dark pages on opera gx, and somehow chess.com was one of the pages that had force dark pages on.
thank for the help anyway!
yeah I was confused because it was making white black then i found out you just right click then click disable force dark pages thank you

Disabling force dark page didn't work for me. Can someone please help?
Do you have any other browser extensions installed?

Disabling force dark page didn't work for me. Can someone please help?
Do you have any other browser extensions installed?
Don't worry, the problem is fixed now.

i have the same promble please help me
Check your browser settings for a Force Dark Mode option and disable it.
Some colors on the website are inverted. Played yesterday and it was all normal. Ill post some pics of the problem. I use Opera as my browser of choice. Here, take a look of this strange problem.
In this image you can see that my avatar is on a different color. (Original is right above "Assinatura").

This one shows the board. Its really hard to see the pieces and they are inverted. The black ones are white and the white ones are black.

Look how strange Jimmy looks like. Also i can just play black. Someone knows how to fix it?