PHPackages                             oceanmoon/color - 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. oceanmoon/color

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

oceanmoon/color
===============

Immutable, memory-efficient PHP Color class with RGB/HSL support, CSS color names, and WCAG accessibility features.

v2.0.0(yesterday)10MITPHP ^8.4

Since Dec 8Compare

[ Source](https://github.com/mossy2100/PHP-Color)[ Packagist](https://packagist.org/packages/oceanmoon/color)[ Docs](https://github.com/mossy2100/PHP-Color)[ RSS](/packages/oceanmoon-color/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (6)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/mossy2100/PHP-Color).

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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 ~38 days

Recently: every ~47 days

Total

6

Last Release

1d ago

Major Versions

v0.2.0 → v1.0.02026-01-05

v1.0.2 → v2.0.02026-06-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f9cd1bb5c1b12882db4cb82161c1b5a22e1ccbad8845a54a6ae591647e88c07?d=identicon)[mossy2100](/maintainers/mossy2100)

---

Tags

phpcsscolorrgbhexaccessibilityimmutablewcagcolourhsl

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/oceanmoon-color/health.svg)

```
[![Health](https://phpackages.com/badges/oceanmoon-color/health.svg)](https://phpackages.com/packages/oceanmoon-color)
```

###  Alternatives

[ozdemirburak/iris

PHP library for color manipulation and conversion.

1201.8M20](/packages/ozdemirburak-iris)[ssnepenthe/color-utils

A PHP library for performing SASS-like color manipulations.

631.2M15](/packages/ssnepenthe-color-utils)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.7M20](/packages/tecnickcom-tc-lib-color)[fjw/color-compare

A library for converting colors (Hex, RGB, HSL, CIELAB (LAB), DIN-99) and calculating color distances based on DIN-99.

1310.4k](/packages/fjw-color-compare)

PHPackages © 2026

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