issue: Refactor label coloring logic.