expects: rgba value, ex: 0000/0000/0000/dddd
    returns: hex value, ex: #000000
    ignores alpha value

def rgb_to_hex(rgba):
    """
    expects: rgba value, ex: 0000/0000/0000/dddd
    returns: hex value, ex: #000000
    ignores alpha value
    """
    rgba = rgba.split('/')
    hex_value = '#' + rgba[0][:2] + rgba[1][:2] + rgba[2][:2]
    return hex_value