(name)
return name2hex_map.get(name.lower(), None)
Convert X11 webcolor name to hex.
Convert X11 webcolor name to hex.
Convert X11 webcolor name to hex .
def name2hex(name):
    """Convert X11 webcolor name to hex."""

    return name2hex_map.get(name.lower(), None)
def name2hex ( name ) : return name2hex_map . get ( name . lower ( ) , None )