Corrects colour palette in metadata