Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jyxo
Color
getRgb
Jyxo\Color::getRgb PHP Method
Color Class Documentation
Datei anzeigen
Open project: jyxo/php
getRgb()
public
method
Returns the current color as an array of the red, green and blue components.
public
getRgb
( ) :
array
return
array
public function getRgb() : array { return [$this->red, $this->green, $this->blue]; }
Color
__construct
__toString
getBinary
getBlue
getGreen
getHex
getLuminance
getRed
getRgb
initFromHex
initFromInt
initFromRgb
setBlue
setGreen
setLuminance
setRed
toGrayScale
toInt
toInverse