To prevent the pesto from darkening, blanch the leaves before making the sauce, and store it in an airtight container. You can also add some lemon juice or e layer of olive oil on top to prevent it from oxidation.