Drupal is a registered trademark of Dries Buytaert
Paragraphs 8.x-1.22 Minor update available for module paragraphs (8.x-1.22). Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). REMP Paywall 2.0.1 Minor update available for module remp (2.0.1). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). REMP Paywall Module remp now has official Drupal security advisory coverage.

This module automatically populates a color field with the dominant color extracted from an associated image field. This can be configured on any entity type that has both a color field and an image field.

Automatically fill a color_field field with the dominant image field from the same entity.

For a full description of the module, visit the project page.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Table of contents

  • Requirements
  • Installation
  • Configuration
  • Maintainers
  • Supporting organizations

Requirements

The color_field module needs to be installed.

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

Add a color_field type field to any entity which already have an image field.

During field configuration enable the "Color_field from image" behavior and select the relevant image field.

Next time an entity is saved the color_field will be updated with the dominant color from the image file.

Maintainers

  • Olivier Pierre - opi

Thank to Phil Wolstenholme for his work on color_thief module as a great inspiration source.

Supporting organizations

Developpement paid by Superchi Architectes and DeuxPointDeux design studio.

Activity

Total releases
1
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-beta4 Pre-release Jun 18, 2026