def METHOD_NAME(obj):
    if not type(obj) in (tuple, list):
        return None
    if len(obj) == 1:
        return METHOD_NAME(obj[0])
    elif len(obj) == 3:
        return int(obj[0]), int(obj[1]), int(obj[2]), 255
    elif len(obj) == 4:
        return obj
    else:
        return None