Pike v8.1 release 6

Method Image.Color.guess()


Method guess

object guess(string color)

Description

This is equivalent to Image.Color(lower_case(str)-" "), and tries the color with a prepending '#' if no corresponding color is found.

Returns

a color object or zero_type