Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a highly customizable color picker field for Drupal, allowing users to select colors using hexadecimal notation. It supports adding multiple color fields to content and entities with various themes and predefined formatters for displaying the selected colors.

Color pickr is a highly customizable nice color picker field module for drupal that use a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB). We can add single or multiple color picker fields for the content or entities with three themes and render the field with predefined formatters.

Features

  • Themes
  • Simple usage
  • Zero dependencies
  • Multiple color representations
  • Color comparison
  • Opacity control
  • Detail adjustments via. mouse-wheel
  • Responsive and auto-positioning
  • Supports touch devices
  • Swatches for quick-selection
  • Fully accessible and i18n
  • Shadow-dom support

Formatters

  • Plain text - as HEX code(#FF0080) or RGB(163,73,164) with or without opacity such as RGBA(0,0,255,1.0)
  • Available themes Classic, Monolith and Nano

Widgets

  • HTML5 Drupal 8+
  • Plain Text
  • Pre-selected Color Boxes with line, square, circle, rectangle and hexagon

Set Up:

  1. To Setup, Like any Drupal 9/10 module Just Place the Module Files in Module Directory
  2. Enable the module "Color Pickr" through Extends Admin Tab
  3. Once Enabled a field Color Pickr would be Available in the manage fields for the contents and entities
  4. Add the field on the content types you wish to add the color pickr field
  5. Configure the theme from from manage form display. The available options for the color pickr field on the manage form display are:
    • Classic
    • Monolith
    • Nano
  6. You can configure the manage display to show the formats to display the color pickr.
    The available options for the color pickr field on the manage display are:
    • Color Pickr Square
    • Color Pickr Hexagon
    • Color Pickr Circle
    • Color Pickr Default(Plain text)
    • Color Pickr Line

Activity

Total releases
1
First release
Jul 2025
Latest release
11 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.1.3 Stable Jul 28, 2025