Color form field type

From Joomla! Documentation

Other languages:
English • ‎español • ‎français • ‎Nederlands

Provides a color picker. Enter the color as #ff00ff or pick it from the palet.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be color.
  • default (optional) provides a color when not set.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) tooltip for the form field.

Example XML Definition:

<field name="backgroundcolor" type="color" default="#eee"