We grew up with a German Shepard that would go nuts if a black person came to the house. She jumped right through a door window once and chased a guy that had come to the door right up on to his truck. Never could figure out what pissed her off so much.
Dogs know things. Mine, for example, does not like muslims, and that is a straight across the board thing. White, black, does not matter.