From http://stackoverflow.com/questions/4726344/how-do-i-change-text-color-determined-by-the-background-color
Finds suitable text color based on background color.