Advanced color field
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

2. Adding custom swatches

3. Field in CP frontend

4. 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
License
Craft
Last release
March 14, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs



