destroy

The destroy() method destroys the instance of the ColorPicker widget.

<input id="colorpicker" type="color" ></div>

<script type="text/javascript">
    $(function () {
        $("#colorpicker").shieldColorPicker({
            value: "#f23210"
        });
    });

    $("#colorpicker").swidget().destroy();

</script>