Why do sport referees where red and white stripe?

Since referees are on the court or the field or the pitch, wearing stripes allows them to be recognized and sets them apart from those that are playing the game.