public static function fromRgbString(string $string) : Colour
    {
        list($r, $g, $b) = ColourStringParser::parseRgbString($string);

        return new self($r, $g, $b);
    }
public static function fromRgbString(string $string) : Colour
    {
        list($r, $g, $b) = ColourStringParser::parseRgbString($string);

        return new self($r, $g, $b);
    }
public static function fromRgbString ( string $ string ) : Colour { list ( $ r , $ g , $ b ) = ColourStringParser :: parseRgbString ( $ string ) ; return new self ( $ r , $ g , $ b ) ; }
Creates a new colour from the supplied rgb string value

@param string $string eg: "rgb(100, 100, 100)"

@return Colour
@throws InvalidArgumentException
Creates a new colour from the supplied rgb string value