adjust text colors according to background