Refactor on coloring commands