Scientists say they may have discovered a permanent way to get rid of gray hair. Fox News reported that in a new study, Medical Daily said that there may be a new way to treat grays.

Medical Daily reported that gray hair is believed to be caused by hydrogem peroxide accumulating at the root of hair follicles. The same thing happens with the skin condition, vitiligo which leaves the skin in patches of different pigmentation.

A new study was researching skin biopsies in a group of people who have vitiligo and discovered that the patients had low levels of catalase, which is an enzyme that helps break down hydrogen peroxide.

Researches treated the patients with a cream that has "pseudo-catalase" in it that can be activated by sunlight and the patients found that after applying the cream and being in the sun their pigment returned to their skin and eye lashes, reported Fox News. Researchers now believe that a similar thing could be used to restore hair color in those that have gone grey.

Researchers then treated vitiligo patients with a cream containing a 'pseudo-catalase,' which can be activated by sunlight. After patients applied the cream, and spent time in the sun, pigment returned in both their skin and eyelashes.

Based on this finding, researchers believe  a similar cream, applied to the hair, could restore color to strands that have gone gray, according to Medical Daily.

The report was published online in The Federation of American Societies for Experimental Biology (FASEB). 

"Now, for the first time, an actual treatment that gets to the root of the problem has been developed," said Dr.

Gerald Weissmann, the editor-in-chief of The FASEB Journal said according to The Daily Mail. 'This condition, while technically cosmetic, can have serious socio-emotional effects of people. Developing an effective treatment for this condition has the potential to radically improve many people's lives."