Skip to content

Field Type - Color

Usage

The color field type should be a VARCHAR or TEXT field in your database.

php
'hex' => array(
	'type' => 'color',
	'title' => 'Color',
)

In the edit form, an admin user will be presented with a color picker which fills the text field with a hex value starting with a # symbol.

Released under the MIT License.