A set of Twig filters for modifying hex colors. 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.

Reviews

This plugin doesn't have any reviews.

Active Installs
952
Version
4.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
May 10, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs