JavaScript ColorPicker
Bind to the colorchange event by type:jqxColorPicker
by jqwidgets
HTML
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<div id="colorPicker"></div>
JavaScript
$("#colorPicker").jqxColorPicker({
width: 300,
height: 300
});
$('#colorPicker').bind('colorchange', function (event)
{
alert("You have changed the color");
});