<div id="cp7" class="inl-bl"></div>
<style>
    .inl-bl {
        display: inline-block;
    }
</style>
<script>
    $(function () {
        $('#cp7').colorpicker({
            color:'#ffaa00',
            container: true,
            inline:true
        });
    });
</script>
