Fixes colour palettes.