Name
sorted_colour_list — return color names sorted by luminance
Synopsis
GIFgraph::colour::sorted_colour_list(number
)
The sorted_
colour_list( )
method
will return a list of strings of valid color names known to GIFgraph,
sorted in order of decreasing luminance. 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 return value is the list of 29 colors
listed in Table 6.2, sorted by
luminance.
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.