Duplicate color removal