remove color repetition.