Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module creates a new Form API element type: colorpicker, which relies on the 3rd party integration of the jquery colorpicker. After enabling this module and downloading the relevant files from the site linked above, a new form element can be created.
A Field API field is also created that can be attached to any fieldable entity.
This will automatically place the colorpicker into the form, allowing users of the form to choose a color from the jquery colorpicker.