src/Alg/ColorConverter.php
public static function cmy2rgb( $cmy )
	{
		list( $c, $m, $y ) = $cmy;
		$r	= 255 * ( 1 - $c );
		$g	= 255 * ( 1 - $m );
		$b	= 255 * ( 1 - $y );
		return array( $r, $g, $b );
	}
public static function cmy2rgb( $cmy )
	{
		list( $c, $m, $y ) = $cmy;
		$r	= 255 * ( 1 - $c );
		$g	= 255 * ( 1 - $m );
		$b	= 255 * ( 1 - $y );
		return array( $r, $g, $b );
	}
public static function cmy2rgb ( $ cmy ) { list ( $ c , $ m , $ y ) = $ cmy ; $ r = 255 * ( 1 - $ c ) ; $ g = 255 * ( 1 - $ m ) ; $ b = 255 * ( 1 - $ y ) ; return array ( $ r , $ g , $ b ) ; }
Converts CMY to RGB.
@access		public
@static
@param		array	cmy		CMY-Color as array
@return		array
Converts CMY to RGB .