GChartWrapper/GChart.py
def lookup_color(color):
    """
    Returns the hex color for any valid css color name
    
    >>> lookup_color('aliceblue')
    'F0F8FF'
    """
    if color is None: return
    color = color.lower()
    if color in COLOR_MAP:
        return COLOR_MAP[color]
    return color
def lookup_color(color):
    """
    Returns the hex color for any valid css color name
    
    >>> lookup_color('aliceblue')
    'F0F8FF'
    """
    if color is None: return
    color = color.lower()
    if color in COLOR_MAP:
        return COLOR_MAP[color]
    return color
Returns the hex color for any valid css color name
    
    >>> lookup_color('aliceblue')
    'F0F8FF'