The ban on Wednesday in food items comes more than three decades after the dye was barred in cosmetics.