Method Colors.parse_color()


Method parse_color

array(3:int(8bit)) parse_color(string|zero name, array(3:int(8bit))|void def)

Description

This function returns the RGB values that corresponds to the color that is provided by name to the function. It is essentially calling Image.Color.guess(), but returns the default value (or black if none is provided) if it failes.