ColorJizz

mischiefcollective.colorjizz Free   Connect to feed
Classes for manipulating colors, converting to different formats and finding color harmonies

ColorJizz is a PHP library for manipulating and converting colors.


Supported formats

new RGB(r, g, b);
new CMY(c, m, y);
new CMYK(c, m, y, k);
new Hex(0x000000);
new HSV(h, s, v);
new CIELab(l, a, b);
new CIELCh(l, c, h);
new XYZ(x, y, z);
new Yxy(Y, x, y);

Conversion functions

.toRGB().ToString();
.toCMY().ToString();
.toCMYK().ToString();
.toHex().ToString();
.toHSV().ToString();
.toCIELab().ToString();
.toCIELCh().ToString();
.toXYZ().ToString();
.toYxy().ToString();

More information

mischiefcollective.colorjizz
1.0.0
11/1/2020
mikeefranklin.co.uk/job/ColorJizz-PHP
licenses.nuget.org/MIT

Share