Soak in acidic water. Before cooking, slice the eggplants and place them in a bowl of water with some vinegar for 3 to 5 minutes. The acid in the vinegar or lemon juice can help to preserve the color.