src/UI/Image/Filter.php
public function colorize( $red, $green, $blue, $alpha = 0 )
	{
		return imagefilter( $this->image->getResource(), IMG_FILTER_COLORIZE, $red, $green, $blue, $alpha );
	}
public function colorize( $red, $green, $blue, $alpha = 0 )
	{
		return imagefilter( $this->image->getResource(), IMG_FILTER_COLORIZE, $red, $green, $blue, $alpha );
	}
public function colorize ( $ red , $ green , $ blue , $ alpha = 0 ) { return imagefilter ( $ this -> image -> getResource ( ) , IMG_FILTER_COLORIZE , $ red , $ green , $ blue , $ alpha ) ; }
Adds or subtracts colors.
@access		public
@param		integer		$red		Red component, value between -255 and 255
@param		integer		$red		Green component, value between -255 and 255
@param		integer		$red		Blue component, value between -255 and 255
@param		integer		$alpha		Alpha channel, value between 0 (opacue) and 127 (transparent)
@return		boolean
Adds or subtracts colors .