jquery.colorbrewer
A simple bootstrap colour picker utilising the ColorBrewer scales.
Usage
this.$('.color-picker').colorBrewer({ container: '#color-picker-modal', // selector or modal element colors: colorbrewer, // colour swatches preview: this.$('.color-picker-preview') // selector element to populate with selected colour for preview });
The example utilises the ColorBrewer JavaScript collection provided by mbostock here.