def colormap(color):
    """
    Convenience for looking up known colors
    """
    cmap = {'black': BLACK}
    return cmap.get(color, color)
Convenience for looking up known colors
ptstructure/table/tablepyxl/style.py