def color_producer(elevation):
    """ This returns color depending on the elevation """
    
    if elevation < 1500:
        return 'green'
    elif 1500 <= elevation < 3000:
        return 'orange'
    else:
        return 'red'