When you select a specific word, it shows you all occurrences of that word, this is case sensitive.
The color for the highlights can be set in the Tools/Options dialog under the Environment/Fonts and Colors node. The X# specific colors all start with the text "X#"