src/Utilities/Colors/ColorLookup.php
public static function get($keyword)
    {
        $keywordLower = strtolower($keyword);

        if (!isset(self::$values[$keywordLower])) {
            return null;
        }

        return self::$values[$keywordLower];
    }
public static function get($keyword)
    {
        $keywordLower = strtolower($keyword);

        if (!isset(self::$values[$keywordLower])) {
            return null;
        }

        return self::$values[$keywordLower];
    }
public static function get ( $ keyword ) { $ keywordLower = strtolower ( $ keyword ) ; if ( ! isset ( self :: $ values [ $ keywordLower ] ) ) { return null ; } return self :: $ values [ $ keywordLower ] ; }
Obtains the RGBA component array for the given color keyword. If a string
that is NOT a valid keyword is given, or if the color is unknown, null is
returned.

@param string $keyword The color keyword to look up.
@return int[]|null The RGBA components, or null.
Obtains the RGBA component array for the given color keyword . If a string that is NOT a valid keyword is given or if the color is unknown null is returned .