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.