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

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

fjw/color-compare
=================

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

1.1(6y ago)1310.0k↓50%MITPHP &gt;=7.2.0

Since Jun 5Compare

[ Source](https://github.com/fjw/ColorCompare)[ Packagist](https://packagist.org/packages/fjw/color-compare)[ RSS](/packages/fjw-color-compare/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

### README not available

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2532d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43d952be437b0c6db251639eb992a4e1fc2a7d550c77b923fc73b77e8644fddc?d=identicon)[fjw12345](/maintainers/fjw12345)

---

Tags

phpcolorrgbcomparedistancehsllabcolor distancevisual differencedin99

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[spatie/color

A little library to handle color conversions

38018.9M28](/packages/spatie-color)[ssnepenthe/color-utils

A PHP library for performing SASS-like color manipulations.

631.1M10](/packages/ssnepenthe-color-utils)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.2M9](/packages/tecnickcom-tc-lib-color)[jeroendesloovere/distance

Get distance between two locations using PHP.

3462.8k](/packages/jeroendesloovere-distance)

PHPackages © 2026

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