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
Supporting organizations:
Project information
- Project categories: Content display
4 sites report using this module
- Created by josh.fabean on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



