set up text coloring based on background color