Gray hair a pregnancy side effect??

Is gray hair part of pregnancy’s side effect?? Coz out of the blue my middle part of the hair has gone gray!! Never had this before, although I only had 1 or 2 from the hair dye that grew out. But so many grays all at once was a shock to me!? I am 35weeks pregnant..