update invalid foreground color