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

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

xixizizixixi/color-distance
===========================

1.0.0(6y ago)05MITPHPPHP &gt;=5.3

Since Apr 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xixizizixixi/color-distance)[ Packagist](https://packagist.org/packages/xixizizixixi/color-distance)[ RSS](/packages/xixizizixixi-color-distance/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

```
//based on : https://github.com/danmichaelo/php-coma
//wiki : https://en.wikipedia.org/wiki/Color_difference

use Danmichaelo\Coma\ColorDistance;
use Danmichaelo\Coma\sRGB;

$color1 = new sRGB(255, 0, 0); //OR $color1 = new sRGB('#ff0000');
$color2 = new sRGB(0, 0, 255); //OR $color2 = new sRGB('#0000ff');

$colorDistance = new ColorDistance();

//CIE94
$cie94 = $colorDistance->cie94($color1, $color2);

//CIEDE2000
$ciede2000 = $colorDistance->ciede2000($color1, $color2);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2217d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35035426?v=4)[xixizizixixi](/maintainers/xixizizixixi)[@xixizizixixi](https://github.com/xixizizixixi)

### Embed Badge

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

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

###  Alternatives

[ezsystems/legacy-bridge

eZ Platform bridge to eZ Publish Legacy

17118.6k4](/packages/ezsystems-legacy-bridge)[rias/statamic-link-it

Link to anything and everything!

1083.6k](/packages/rias-statamic-link-it)[log1x/acf-fluent-helpers

Simple set of helper functions for ACF Fluent auto-loaded with Composer using generic function names.

1513.8k](/packages/log1x-acf-fluent-helpers)

PHPackages © 2026

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