[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to
[operator 'getitem']
Usage: a[i]
blend(self, color1, color2, _[1], v1, v2)
"Blend" two colors, i.e. take their average RGB values.
blend_weighed(self, color1, weight1, color2, weight2, _[1], v1, v2, total_weight)
Blend two colors, using a weighing factor.
byname(self, name)
Find color by name.
findcolors(self, color, numresults, distance, dist, name, sqr, results, acolor)
Find the topmost colors in the color database that
are closest to . Useful for finding the name of a color.
is a tuple (r, g, b).
Returns a list of tuples (distance, name, (r, g, b).
hex(self, name, rgb)
None
invert(self, color, _[1], v)
None