The grid() function of matplotlib supports keyword arguments (**kwargs) to define the line properties of the grid, e.g.:
grid(color='r', linestyle='-', linewidth=2)
So, you need to use the color argument to set the color of your choice.
Here is a sample code:
import matplotlib.pyplot as plt
plt.grid(which='both', axis='both', linestyle='--', color='lavender')