add custom_palette to override hardcoded palettes.

it simply override @COLOUR by custom_palette option