Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Colorizer Classes

Security covered Under active development 4 sites

This module provides a Twig filter to convert color values into CSS classes. It's useful for integrating with modules like Color Field, allowing you to visually select colors in the admin interface and output them as corresponding CSS classes in your markup.

Adds in the ability to take a color value from Drupal and output it as a CSS Class using a Twig filter. It was built to be used with something like the Color Field module that lets users see a visual color in the admin interface but still output a CSS class in the markup.

How to use it Twig

{{ '#FFFFFF'|colorizer }} // color-white
Drupal 9–11

Ask your assistant about Colorizer Classes

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
3
Tracked since
Jan 2023
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 9–11 Dec 5, 2025
1.0.x-dev Dev 9–11 Jan 17, 2023
1.0.0 Stable 9–10 Jan 17, 2023