transparent colour added (replacing palette entries where pairs are same colour