Search by

whoisjuan / craft-color-mixer

whoisjuan

This package is abandoned and no longer maintained. The author suggests using the verbb/color-mixer package instead.

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/whoisjuan/craft-color-mixer

Fund package maintenance!

verbb

Statistics

Installs: 37 152

Dependents: 0

Suggesters: 0

Stars: 13

Open Issues: 0

4.1.3 2026-11-01 10:57 UTC

This package is auto-updated.

Last update: 2026-11-13 00:01:56 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, so it will always be free and open source. If you'd like to support it anyway, you can sponsor its development.

Verbb