PHPackages                             doublesecretagency/craft-matrixcolors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. doublesecretagency/craft-matrixcolors

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

doublesecretagency/craft-matrixcolors
=====================================

Identify your matrix blocks by giving each type a different color.

3.0.0(3y ago)4518.7k↑171.4%5[2 issues](https://github.com/doublesecretagency/craft-matrixcolors/issues)MITPHP

Since Dec 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/doublesecretagency/craft-matrixcolors)[ Packagist](https://packagist.org/packages/doublesecretagency/craft-matrixcolors)[ RSS](/packages/doublesecretagency-craft-matrixcolors/feed)WikiDiscussions v3-dev Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

[![Plugin icon](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/icon.svg)](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/icon.svg)

Matrix Colors plugin for Craft CMS 4
====================================

[](#matrix-colors-plugin-for-craft-cms-4)

**Identify your Matrix blocks by giving each type a different color.**

---

⭐️ MATRIX COLORS HAS BEEN RETIRED ⭐️
------------------------------------

[](#️-matrix-colors-has-been-retired-️)

Matrix Colors will not be ported to Craft 5, because it is no longer necessary! The new overhauled Matrix field UX now provides native colors for your Matrix block types. 👏

See our [blog post](https://www.doublesecretagency.com/blog/craft-5-plugin-retirements) for more information.

### Still available &amp; supported for Craft 3 &amp; 4 ✅

[](#still-available--supported-for-craft-3--4-)

---

How to Install
--------------

[](#how-to-install)

See official installation instructions on the [Craft CMS Plugin Store...](https://plugins.craftcms.com/matrix-colors?craft4)

Managing Block Colors
---------------------

[](#managing-block-colors)

Once the plugin is installed, manage the colors of your Matrix block types (or Neo block types) by going to:

 **Settings &gt; Plugins &gt; Matrix Colors**

 [![Screenshot of navigating to the plugin's settings page](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/settings.png)](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/settings.png)

Basic Usage
-----------

[](#basic-usage)

To set the background color of a Matrix (or Neo) block type, enter the **block type handle** and desired **CSS color**.

 [![Example of block type settings page](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/block-type-colors.png)](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/block-type-colors.png)

Here's what that looks like in a Matrix field...

 [![Example of Matrix field using colorized blocks](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/matrix-field.png)](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/matrix-field.png)

Repeat for every block type which you'd like to assign a color to.

You can use any colors you want, but pastels (lighter colors) tend to look better.

Shared Colors for Multiple Block Types
--------------------------------------

[](#shared-colors-for-multiple-block-types)

You can easily specify the same color for multiple block types. Either give each block type its own row, or list them all together using commas to separate each block type handle.

 [![Example of multiple block types sharing the same color](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/shared-color.png)](https://raw.githubusercontent.com/doublesecretagency/craft-matrixcolors/467645a603a313901652d82a1aff6dc3c770deb7/src/resources/img/shared-color.png)

Neo Support
-----------

[](#neo-support)

If you are also using the [Neo](https://plugins.craftcms.com/neo) plugin, you can similarly color your Neo blocks.

Simply declare your Neo block type handles alongside their assigned colors, just as you would with Matrix block type handles.

---

Anything else?
--------------

[](#anything-else)

We've got other plugins too!

Check out the full catalog at [plugins.doublesecretagency.com](https://plugins.doublesecretagency.com)

**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺

 [![Logo for Double Secret Agency](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~472 days

Recently: every ~585 days

Total

6

Last Release

767d ago

Major Versions

v2.x-dev → 3.0.02023-01-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9ec4fd6e26eb61622c4e869ab85bc19af660fbba9c0679a86c7cb39ac980c2a?d=identicon)[lindseydiloreto](/maintainers/lindseydiloreto)

---

Top Contributors

[![lindseydiloreto](https://avatars.githubusercontent.com/u/5309692?v=4)](https://github.com/lindseydiloreto "lindseydiloreto (29 commits)")[![ttempleton](https://avatars.githubusercontent.com/u/19421878?v=4)](https://github.com/ttempleton "ttempleton (4 commits)")[![dueddel](https://avatars.githubusercontent.com/u/436636?v=4)](https://github.com/dueddel "dueddel (2 commits)")

---

Tags

craftcraftcmsmatrixmatrixcmsCraftcraftcmscraft-plugincolorscoloursmatrix-colors

### Embed Badge

![Health badge](/badges/doublesecretagency-craft-matrixcolors/health.svg)

```
[![Health](https://phpackages.com/badges/doublesecretagency-craft-matrixcolors/health.svg)](https://phpackages.com/packages/doublesecretagency-craft-matrixcolors)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/workflow

Enforce multi-step review processes for creating entries.

138124.2k1](/packages/verbb-workflow)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
