1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

Colour Picker element

Jun 28, 2013
Colour Picker element

  • Form example (top)


    Click on the large coloured square to open up the colour picker window.
    Use the sliders to create the colour, or click on the small palette colours to automatically load a colour.

    Administration settings (top)

    There are no admin settings for this plug-in.

    As of 14th July 2011 there is the following option:

    • swatch - Allows you to select a swatch file to load up the preselectable colours. The rainbow swatch as shown in the image above is default.js.
    The format for the swatch file is json. Its an array, where each line of the array represents a line in the swatch output.

    The each swatch line is an object whose keys are the rgb colour and whose labels represent the colour name (leave blank not to show a colour name)

    Code (Javascript):