Craft Color Mixer


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 do the following things:

  • Transform color values from HEX to RGB
  • Transform color values fromTraHEX to HSL
  • Lighten and darken colors by a set amount.
  • Determine if a color is considered dark or light.
  • Get a complementary color
  • Generate gradients.

Documentation: https://github.com/whoisjuan/craft-color-mixer

Ported from the excellent Color Mixer for Craft 2: https://github.com/ethercreative/colormixer


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

Report an issue