Can food affects the color of discharge?

j

Im just wondering if one factor that affects colored discharge is food?