__construct()
getB()
getG()
getR()
toCIELCh()
toCIELab()
toCMY()
toCMYK()
toHSV()
toHex()
toRGB()
toString()
toXYZ()
toYxy()
$b
$g
$r
RGB represents the RGB color format
author | Mikee Franklin |
---|
__construct(float $r, float $g, float $b)
float
The red (0-255)
float
The green (0-255)
float
The blue (0-255)
getB() : int
int
The blue valuegetG() : int
int
The green valuegetR() : int
int
The red valuetoCIELCh() : \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 formattoString() : string
string
The color in format: $r,$g,$b (rounded)toXYZ() : \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$b
$g
$r