Graying of hair is not related to sexual dimorphism. Graying starts when melanin pigment in the hair starts diminishing and finally hair becomes devoid of it and becomes gray. It starts in most of the people from the templeas most of the times this area is exposed to dust,sun,and in contact with facial creams/ chemicals we use,which will react with melanin in the hair and turn gray.