<div id="cp3" class="input-group colorpicker-component">
    <input type="text" value="#00AABB" class="form-control"/>
    <span class="input-group-addon"><i></i></span>
</div>
<script>
    $(function () {
        $('#cp3').colorpicker({
            color: '#AA3399',
            format: 'rgb'
        });
    });
</script>
