Correct text coloring and add color mode modification