Search by

verbb / color-mixer

verbb

A Craft CMS plugin with Twig filters for converting and transforming colour values.

Package info

github.com/verbb/color-mixer

Documentation

Type:craft-plugin

pkg:composer/verbb/color-mixer

Fund package maintenance!

verbb

Statistics

Installs: 23 592

Dependents: 0

Suggesters: 0

Stars: 13

Open Issues: 0

4.1.2 2026-09-14 10:29 UTC

This package is auto-updated.

Last update: 2026-09-30 05:25:03 UTC


README

Color Mixer icon

Color Mixer for Craft CMS

Color Mixer is a Craft CMS plugin that gives Twig the colour operations designers reach for every day. Convert, lighten, darken, mix, tint, shade, fade, and assess colour values without maintaining a separate utility layer.

Take a colour stored in Craft and derive the variants your template needs at render time. A single source value can produce hover states, tints, shades, translucent overlays, or a complementary accent.

Features

  • Convert Hex, HSL, RGB, RGBA, OKLCH, CMYK, and other colour formats without manual parsing in Twig.
  • Derive brighter or deeper variants by a controlled amount.
  • Blend towards white or black for a related colour scale.
  • Combine two values to create a deliberate intermediate colour.
  • Adjust opacity and return a value suitable for translucent CSS.
  • Choose an appropriate treatment based on the perceived brightness of a colour.

Documentation

Visit the Color Mixer Plugin page for all documentation, guides, pricing and developer resources.

Credit & Thanks

Based on Color Mixer for Craft 2.

Support

Get in touch with us via the Color Mixer Support page or by creating a Github issue

Sponsor

Color Mixer is licensed under the MIT license, meaning it will always be free and open source - we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.

Verbb