def METHOD_NAME(self, color):
    '''
    '''
    if color is None:
        return None
    try:
        #Generate 13 digit color string from supplied color
        col = Gdk.color_parse(color).to_string()
    except ValueError:
        logging.debug("Unable to parse color from '%s'" % color)
        return None
    #Create matplotlib color string
    _color = "#%s%s%s" % (col[1:3], col[5:7], col[9:11])
    #logging.debug("%s color saved as: %s" % (color, _color))
    return _color