







The PIL.ImageColor Module


getrgb(color)  [ #PIL.ImageColor.getrgb-function# ]

Convert color string to RGB tuple.


color

A CSS3-style colour string.

Returns:

An RGB-tuple.

Raises ValueError:
If the color string could not be interpreted
   as an RGB value.





