Color Palette

Display preset color palettes.

Code Sample:

array(
    'id'		=> 'color_palette_field',
    'title'		=> __('Color palette Field','text-domain'),
    'details'		=> __('Description of color palette field','text-domain'),
    'type'		=> 'color_palette',
    'colors'		=> array('#dd3333','#1e73be','#8224e3','#e07000','#1e73be','#8224e3'),
    'args'		=> array(
        'width'     => '50px',
        'height'   => '50px',
        'style'	=> '',
    ),
),

Preview:

WordPress Option Framework