Module PIL.ImageColor

Module Summary:

def getrgb(color)
Convert color string to RGB tuple.

Functions

getrgb

getrgb(color)

Convert color string to RGB tuple.

Parameters:

color -- A CSS3-style colour string.

Returns:

An RGB-tuple.

Exceptions:

ValueError -- String format not supported.