public function setRgb($red, $green, $blue)
    {
        $this->red = (int) $red;
        $this->green = (int) $green;
        $this->blue = (int) $blue;
    }
public function setRgb($red, $green, $blue)
    {
        $this->red = (int) $red;
        $this->green = (int) $green;
        $this->blue = (int) $blue;
    }
public function setRgb ( $ red , $ green , $ blue ) { $ this -> red = ( int ) $ red ; $ this -> green = ( int ) $ green ; $ this -> blue = ( int ) $ blue ; }
Set the RGB.

@param int $red
integer 0-255
@param int $green
0-255
@param int $blue
0-255
Set the RGB .