spectrum
spectrum copied to clipboard
feature: ability to add to selection palette with code
would like to be able to dynamically add color(s) to the selection palette with code.
for example:
$("#clr-border").spectrum.selectionPalette.add("#c0c0c0");
perhaps also this would have a parameter for the localstorage keys.
right now the only obviously apparent way is to select a color manually. I have an eyedropper tool which grabs a color from the canvas and it would be nice if that color was added to the selection palette.