public static function toCmyk(Space\ColorInterface $color)
{
$class = get_class($color);
if ($class == 'Pop\\Color\\Space\\Cmyk') {
throw new Exception('That color space object is already that type.');
}
$type = strtolower(substr($class, strrpos($class, '\\') + 1));
$method = $type . 'ToCmyk';
return self::$method($color);
}