A set of Twig filters for modifying hex colors in Craft CMS. Use Twig to modify and manipulate color values and generate valid CSS that can be used in your templates.

This plugin allows you to use simple Twig filters to:

  • Convert color values from Hex, HSL, RGB, RGBA and more
  • Saturate or Desaturate colors by a set amount.
  • Lighten and darken colors by a set amount.
  • Mix, tint and shade colors by a set amount.
  • Fade colors by a set amount.
  • Determine if a color is considered dark or light.
  • Get a complementary color.
Installation Instructions

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

Active Installs
592
Version
3.0.0
License
MIT
Compatibility
Craft 3, Craft 4
Last release
June 25, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs