Deduplicate color classes