PHPackages                             andrewskm/utility-colors - 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. andrewskm/utility-colors

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

andrewskm/utility-colors
========================

List of color names for utility class generation.

v0.1.2(3mo ago)0463↓81.8%MITPHPPHP &gt;=8.1CI passing

Since Apr 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/andrewskm/utility-colors)[ Packagist](https://packagist.org/packages/andrewskm/utility-colors)[ Docs](https://github.com/andrewskm/utility-colors)[ RSS](/packages/andrewskm-utility-colors/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Utility Colors
==============

[](#utility-colors)

[![CI](https://github.com/andrewskm/utility-colors/actions/workflows/ci.yml/badge.svg)](https://github.com/andrewskm/utility-colors/actions/workflows/ci.yml?query=branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/6c377c31a57c964c109a2fe6997c21377869f87cfdab91adb86e6cc01257f8ff/68747470733a2f2f706f7365722e707567782e6f72672f616e64726577736b6d2f7574696c6974792d636f6c6f72732f762f737461626c65)](https://packagist.org/packages/andrewskm/utility-colors)[![License](https://camo.githubusercontent.com/41a344c8119623afeca3d42fa78d2a4aed990629d0d3bdade12669bdf3832d44/68747470733a2f2f706f7365722e707567782e6f72672f616e64726577736b6d2f7574696c6974792d636f6c6f72732f6c6963656e7365)](https://github.com/andrewskm/utility-colors/blob/main/LICENSE)

A basic package that lists color names and allows the building of utility classes in PHP.

Compatibility
-------------

[](#compatibility)

- PHP 8.1+

### Usage

[](#usage)

Create a list of background utility classes with a shade of 300

```
$list = array_map(
    fn($case) => $case->build('bg', 300),
    UtilityColor::cases()
);
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~198 days

Total

3

Last Release

90d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/874d0b721211d2886107a179605890075187497242bdf554ad886be026986d5a?d=identicon)[andrewskm](/maintainers/andrewskm)

---

Top Contributors

[![andrewskm](https://avatars.githubusercontent.com/u/18683087?v=4)](https://github.com/andrewskm "andrewskm (16 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andrewskm-utility-colors/health.svg)

```
[![Health](https://phpackages.com/badges/andrewskm-utility-colors/health.svg)](https://phpackages.com/packages/andrewskm-utility-colors)
```

###  Alternatives

[langleyfoxall/math_eval

✖️➕➖➗ `math\_eval` safely evaluates mathematical expressions

42712.4k3](/packages/langleyfoxall-math-eval)[justbetter/magento2-customer-pricing

Customer specific pricing module for Magento 2

102.7k](/packages/justbetter-magento2-customer-pricing)

PHPackages © 2026

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