NextDom\Helpers\Utils::getDominantColor

    Signature

    public function getDominantColor( $pathImg, [null $level = NULL, [boolean $ignoreDarkColor = false]] )

    Parameters

    $pathImg
    $level — null
    $ignoreDarkColor — boolean



    Returns

    array|string