public function getDominantColor($image, $quality = 10, $colorValue = 'hex')
    {
        return Plugin::$plugin->color->getDominantColor($image, $quality, $colorValue);
    }
public function getDominantColor($image, $quality = 10, $colorValue = 'hex')
    {
        return Plugin::$plugin->color->getDominantColor($image, $quality, $colorValue);
    }
public function getDominantColor ( $ image , $ quality = 10 , $ colorValue = 'hex' ) { return Plugin :: $ plugin -> color -> getDominantColor ( $ image , $ quality , $ colorValue ) ; }
Gets the dominant color of an image

@param Asset|string $image
@param string       $colorValue
@param int          $quality

@return mixed
Gets the dominant color of an image