Visual Studio colors mess up

Every once in a while, Visual Studio decides to mess up my colors.

This is what happens:

visual studio broken colors

It should look like this:

good colors visual studio

I'm not sure what is causing this, but I hope someone else has experienced this before and was able to fix it.


Check this question at StackOverflow:

Basically the person asking the questing figures out himself that there is a plug-in overriding the colour settings. My tip would be to check any plug-ins you have installed and see if they have any font or colour settings

Also found this link although I don't know if it's really related.


It looks like you might be running ReSharper and have "color identifiers" enabled. They are optimized for a white background, I've had the same problem.

To fix go to ReSharper Options: Code Inspection/Settings and disable Color identifiers.

I don't know the reason they switch on and off, but it's probably because other users in your team have them enabled in their ReSharper "settings layer" which you can manage under ReSharper/Manage Options.