To use JSColor, just download the source and paste this code in your pages:
Add the “color” class to your input tag:
And you’re done. Simple.
See the demos here.