Integrating colorpicker into array field

Real quick this should point you in the right direction, you need to define your colorpicker and then reference it, so like:

switch( $arguments['type'] ){
       case 'text':
       case 'password':
       case 'number':
       printf( '<input name="%1$s" id="%1$s" type="%2$s" placeholder="%3$s" value="%4$s" />', $arguments['uid'], $arguments['type'], $arguments['placeholder'], $value );
    break;
    case 'colorpicker':
       printf( '<input name="%1$s" id="%1$s" type="%2$s" placeholder="%3$s" value="%4$s" />', $arguments['uid'], $arguments['type'], $arguments['placeholder'], $value );
    break;
    ...
}

Then reference it in your setup_fields method:

public function setup_fields() {
        $fields = array(
            array(
                'uid' => 'awesome_text_field',
                'label' => 'Sample Text Field',
                'section' => 'our_first_section',
                'type' => 'text',
                'placeholder' => 'Some text',
                'helper' => 'Does this help?',
                'supplimental' => 'I am underneath!',
            ),
            array(
                'uid' => 'awesome_color_picker',
                'label' => 'Sample colorpicker',
                'section' => 'our_whatever_section',
                'type' => 'colorpicker',
                'placeholder' => 'Some text',
                'helper' => 'Does this help?',
                'supplimental' => 'I am underneath!',
            ),
            ....
}