Plugin screenshot thumbnail 1/4
Plugin screenshot thumbnail 2/4
Plugin screenshot thumbnail 3/4
Plugin screenshot thumbnail 4/4

Advanced color field

A standalone Craft CMS field type that stores color + alpha and provides a modern color picker UI.

Features

  • Field type: Color (Alpha)
  • Supports HEX, RGB, RGBA, HSL, HSLA editing
  • Stores normalized value with alpha support
  • Optional custom swatches in field settings
  • Twig-friendly output helpers

Screenshots

1. Adding the field

Adding the field

2. Adding custom swatches

Adding custom swatches

3. Field in CP frontend

Field in CP frontend

4. Color picker modal

Color picker modal

Requirements

  • PHP ^8.2
  • Craft CMS ^5.0

Installation

Install via Composer:

composer require kdgraphics/advanced-color-field:^1.0

Then install the plugin in Craft:

php craft plugin/install advanced-color-field

Field usage in Twig

Assuming your field handle is brandColor:

{% set c = entry.brandColor %}
{% if c %}
  {{ c.hex }}
  {{ c.hex8 }}
  {{ c.rgb }}
  {{ c.rgba }}
  {{ c.hsl }}
  {{ c.hsla }}
  {{ c.alpha }}
  {{ c.opacity }}
{% endif %}

Standard

Plus $9/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
0
Version
1.0.0
License
Craft
Compatibility
Craft 5
Last release
March 14, 2026
Categories
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs