Jyxo\Color::getRgb PHP Method

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];
    }