<?php
/**
 * Types-field: Colorpicker
 *
 * Description: Displays colorpicker.
 *
 * Rendering: hexdec color value (e.g. #FFFFFF).
 * 
 * Parameters:
 * 'raw' => 'true'|'false' (display raw data stored in DB, default false)
 * 'output' => 'html' (wrap data in HTML, optional)
 * 'show_name' => 'true' (show field name before value e.g. My color: $value)
 *
 * Example usage:
 * With a short code use [types field="my-color"]
 * In a theme use types_render_field("my-color", $parameters)
 * 
 */