bgrins / spectrum

The No Hassle JavaScript Colorpicker
https://bgrins.github.io/spectrum/
MIT License
2.32k stars 588 forks source link

Change colors within the db #452

Open jbEastDaley opened 8 years ago

jbEastDaley commented 8 years ago

Is there a way I can get the color palette set up like your top example on your website when you change border colors? What I want to do is be able for the user to choose a color of their choice for the certain item on the map. The initial colors for each item is in the db. How can I create a function to change these colors.

I used some of your code from your website and mimic'd it but it doesn't work. Basically want it set up just like you have it for the border color changes. Just a little confused on how I can get that to work.

Thanks.