__construct()
__toString()
create()
fromString()
toCIELCh()
toCIELab()
toCMY()
toCMYK()
toHSV()
toHex()
toRGB()
toXYZ()
toYxy()
$hex
$color_names
Hex represents the Hex color format
author | Mikee Franklin |
---|
__construct(int $hex)
int
the hexidecimal value (i.e. 0x000000)
__toString() : string
string
The color in format: RRGGBBcreate(int $hex) : \MischiefCollective\ColorJizz\Formats\Hex
int
the hexidecimal value (i.e. 0x000000)
\MischiefCollective\ColorJizz\Formats\Hex
the color in Hex formatfromString(string $str) : \MischiefCollective\ColorJizz\Formats\Hex
string
Can be a color name or string hex value (i.e. "FFFFFF")
\MischiefCollective\ColorJizz\Formats\Hex
the color in Hex formattoCIELCh() : \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 format$hex
$color_names