analogous()
brightness()
complement()
distance()
equal()
greyscale()
hue()
match()
range()
rectangle()
saturation()
split()
sweetspot()
toCIELCh()
toCIELab()
toCMY()
toCMYK()
toHSV()
toHex()
toRGB()
toXYZ()
toYxy()
websafe()
$toSelf
ColorJizz is the base class that all color objects extend
author | Mikee Franklin |
---|
analogous($includeSelf)
brightness(int $brightnessModifier) : \MischiefCollective\ColorJizz\ColorJizz
int
Value to modify by
\MischiefCollective\ColorJizz\ColorJizz
The modified colorcomplement() : \MischiefCollective\ColorJizz\ColorJizz
\MischiefCollective\ColorJizz\ColorJizz
The greyscale colordistance(MischiefCollective\ColorJizz\ColorJizz $destinationColor) : int
int
distance to destination colorequal($parts, $includeSelf)
greyscale() : \MischiefCollective\ColorJizz\ColorJizz
\MischiefCollective\ColorJizz\ColorJizz
The greyscale colorhue(int $degreeModifier) : \MischiefCollective\ColorJizz\ColorJizz
int
Degrees to modify by
\MischiefCollective\ColorJizz\ColorJizz
The modified colormatch(array $palette) : \MischiefCollective\ColorJizz\ColorJizz
array
An array of ColorJizz objects to match against
\MischiefCollective\ColorJizz\ColorJizz
The closest colorrange($destinationColor, $steps, $includeSelf)
rectangle($sideLength, $includeSelf)
saturation(int $satModifier) : \MischiefCollective\ColorJizz\ColorJizz
int
Value to modify by
\MischiefCollective\ColorJizz\ColorJizz
The modified colorsplit($includeSelf)
sweetspot(int $includeSelf) : \MischiefCollective\ColorJizz\ColorJizz[]
int
Include the current color in the return array
\MischiefCollective\ColorJizz\ColorJizz[]
Array of complimentary colorstoCIELCh() : \MischiefCollective\ColorJizz\Formats\CIELCh
\MischiefCollective\ColorJizz\Formats\CIELCh
the color in CIELCh formattoCIELab() : \MischiefCollective\ColorJizz\Formats\CIELab
\MischiefCollective\ColorJizz\Formats\CIELab
the color in CIELab formattoCMY() : \MischiefCollective\ColorJizz\Formats\CMY
\MischiefCollective\ColorJizz\Formats\CMY
the color in CMY formattoCMYK() : \MischiefCollective\ColorJizz\Formats\CMYK
\MischiefCollective\ColorJizz\Formats\CMYK
the color in CMYK formattoHSV() : \MischiefCollective\ColorJizz\Formats\HSV
\MischiefCollective\ColorJizz\Formats\HSV
the color in HSV formattoHex() : \MischiefCollective\ColorJizz\Formats\Hex
\MischiefCollective\ColorJizz\Formats\Hex
the color in Hex formattoRGB() : \MischiefCollective\ColorJizz\Formats\RGB
\MischiefCollective\ColorJizz\Formats\RGB
the color in RGB formattoXYZ() : \MischiefCollective\ColorJizz\Formats\XYZ
\MischiefCollective\ColorJizz\Formats\XYZ
the color in XYZ formattoYxy() : \MischiefCollective\ColorJizz\Formats\Yxy
\MischiefCollective\ColorJizz\Formats\Yxy
the color in Yxy formatwebsafe() : \MischiefCollective\ColorJizz\ColorJizz
\MischiefCollective\ColorJizz\ColorJizz
The closest color$toSelf