2017 © Pedro PelĂĄez
 

library coma

Library to convert colors between the RGB, XYZ, and Lab colorspaces, and to calculate color distance metrics such as CIE76 and CIE94

image

danmichaelo/coma

Library to convert colors between the RGB, XYZ, and Lab colorspaces, and to calculate color distance metrics such as CIE76 and CIE94

  • Sunday, September 13, 2015
  • by danmichaelo
  • Repository
  • 3 Watchers
  • 13 Stars
  • 1,131 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

CoMa – PHP Color Math Library

Build Status Coverage Status Latest Stable Version Total Downloads, (*1)

Php library to convert between sRGB, XYZ, and Lab color spaces, and calculate various color distance metrics (delta E). Currently CIE76 and CIE94 are implemented, but I plan to implement more., (*2)

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

$color1 = new sRGB(1, 5, 250);
$color2 = new sRGB(0, 0, 208);

$cd = new ColorDistance;
$cie94 = $cd->cie94($color1, $color2);
echo 'The CIE94 ∆E is ' . $cie94 . ' between ' . $color1->toHex() . ' and ' . $color2->toHex() . '.';

The Versions

13/09 2015

dev-master

9999999-dev http://github.com/danmichaelo/php-coma

Library to convert colors between the RGB, XYZ, and Lab colorspaces, and to calculate color distance metrics such as CIE76 and CIE94

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dan Michael O. Heggø

color color distance color conversion

13/09 2015

dev-analysis-XaoQkz

dev-analysis-XaoQkz http://github.com/danmichaelo/php-coma

Library to convert colors between the RGB, XYZ, and Lab colorspaces, and to calculate color distance metrics such as CIE76 and CIE94

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dan Michael O. Heggø

color color distance color conversion

21/12 2013

v0.1.0

0.1.0.0 http://github.com/danmichaelo/php-coma

Color library to convert between RGB, XYZ, and Lab colorspaces, and calculate color distance metrics such as CIE76 and CIE94

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dan Michael O. Heggø