Name

colour_list — return all valid color names

Synopsis

GIFgraph::colour::colour_list(
[number] )

The colour_list method will return a list of strings of valid color names known to GIFgraph. The number of strings returned is specified with the optional number parameter; if no number is specified, all the defined names are returned. The default list is the list of 29 colors listed in Table 6.2.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.