Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Palette

1 sites Security covered
View on drupal.org

Palette provides administrators with control over the colors editors can use in content, allowing them to define a curated set of named colors. Editors can then easily select from these pre-defined color swatches via a visual browser, ensuring brand consistency and eliminating inconsistent shades.

Does your editorial team struggle with inconsistent brand colors scattered across content?
Palette gives administrators full control over which colors editors can use โ€”
and gives editors a beautiful, visual way to pick them.

The problem it solves

When a site uses Color Field,
editors get a free-form hex input. Anyone can type any color. Over time this leads to dozens
of slightly-different shades of "brand blue" living across your content.

Palette solves this by letting you define a curated set of named, reusable colors
as content entities. Editors browse and pick from swatches โ€” no hex codes required.

How it works

  1. An administrator defines the site's color palette at
    Administration > Structure > Palette colors.
  2. Each color gets a name (e.g. "Corporate Blue") and a hex value.
  3. Any color_field_type field can be switched to the
    Palette Color Browser widget.
  4. Editors click "Select color", pick a swatch from the visual modal,
    and the field is filled automatically.

Features

  • ๐ŸŽจ Named color entities โ€” manage colors just like any other content
  • ๐Ÿ–ฑ๏ธVisual entity browser โ€” circular color swatches in a clean modal
  • โšก Create on-the-fly โ€” add new colors without leaving the edit form
  • ๐Ÿ”’ Enable / disable colors โ€” retire a color without deleting it
  • ๐Ÿ”— Views integration โ€” list, filter and manage colors with Views
  • ๐Ÿงฉ Pluggable โ€” entity browser widgets are extendable by other modules

Requirements

Compatibility

Palette supports Drupal 10 and Drupal 11.

Getting started

  composer require drupal/palette
  drush en palette
  

Then go to Administration > Structure > Palette colors and add your
first color. Switch any Color Field widget to "Palette Color Browser" and you're done.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Dec 2025
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.1-alpha2 Pre-release 10โ€“11 Jan 11, 2026
1.0.1-alpha1 Pre-release 10โ€“11 Dec 31, 2025