Add method to Style to deduce foreground color from background color.