improved overlay coloring