Extracted from Pike v7.4 release 97 at 2004-08-02.
pike.ida.liu.se
[Top]
predef::
Colors

Method Colors.parse_color()


Method parse_color

array(int(0..255)) Colors.parse_color(string name)

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 value for black if it failes.