.. include:: ../../Includes.txt

.. _fields-colorpicker:

Colorpicker
===========

.. figure:: ../../Images/FieldTypes/Colorpicker.svg
   :alt: Colorpicker
   :class: float-left
   :width: 64px

A colorpicker for choosing color hex-values.

.. rst-class::  clear-both

.. code-block:: php

   'type' => 'input',
   'renderType' => 'colorpicker'

.. figure:: ../../Images/FieldTypes/ColorpickerPreview.png
   :alt: Colorpicker field
   :class: with-border

   Colorpicker field

Available TCA options
---------------------

*  :ref:`config.default <t3tca:tca_property_default>`
*  :ref:`config.placeholder <t3tca:tca_property_placeholder>`
*  :ref:`config.size <t3tca:columns-input-properties-size>`
*  :ref:`l10n_mode <t3tca:columns-properties-l10n-mode>`
*  :ref:`config.behaviour.allowLanguageSynchronization <t3tca:tca_property_behaviour_allowLanguageSynchronization>`
*  :ref:`config.eval.null <t3tca:columns-input-properties-eval>`
*  :ref:`config.mode <t3tca:tca_property_mode>`

See a complete overview of Colorpicker TCA options in the :ref:`official documentation <t3tca:columns-input-renderType-colorpicker>`.
