Added support for D3js and ColorBrewer colour palettes