Scientists have developed a drug that simulates the effect of sunlight on human skin and its purity without UV rays that cause damage.
The drug skirts the skin and turns it into a melanin-colored dye through tests using skin samples and mice.
Evidence suggests that the drug is also effective for people with red hair, who are usually affected by exposure to sunlight.
A team from the Massachusetts General Hospital hopes their discovery will help prevent skin cancer and reverse signs of aging.
Ultraviolet rays cause skin to be damaged by damage.
This activates a series of chemical reactions in the skin that result in the formation of darkened melanin.
The user puts the medicine by lipstick to avoid damage and then begins the process of melanin formation.
"The drug has a powerful and effective effect, and through microscopic examination we see two real melanin, it activates the formation of dye independently by using ultraviolet light," said David Fisher, a researcher at the BBC.
This method differs from ways to circumvent the skin to protect it without protection from melanin and sunbathing, which expose the skin to ultraviolet light, or tablets that claim companies success in promoting the production of melanin but still need UV.
But the team is not making efforts to produce a new cosmetic.
Fischer said the lack of progress in treating melanoma, the most common type of cancer, was "very frustrating."
"Our real goal is to create a new strategy to protect the skin from ultraviolet radiation and cancer."
The results of the tests, published in the journal "Cell Reports", that melanin resulting from the drug is able to prevent damage due to ultraviolet radiation.
Scientists want to mix the use of the drug with sunscreen to achieve maximum protection from sunlight.
Fisher said everyone should use sunscreen, but her problem "makes you pale."
It is not yet clear that there may be any unintended effect on hair color, but it is believed that the hair follicles are located deep in the skin away from the arrival of the drug.
Whether the skin is brown, gray or brown, the drug is not yet ready for commercial use.
Researchers want more safety tests, although there are no "signs of problems".
Matteo Gass, of the British Association of Dermatologists, said the study was a "new approach" to preventing skin cancer.
"More research needs to be done before using this technology on humans, but it is certainly interesting."
"Skin cancer incidence in Britain is very high, and we encourage any research to study ways to reduce the growth of skin cancer in the first place," he said.
To stop damage caused by ultraviolet radiation may be an additional benefit other than cancer, which is to reduce signs of aging.
"Many people say that the most obvious and important sign of aging is how skin looks," Fisher said, referring to another achievement behind the research.
"It is medically difficult to focus on this, but it is very safe and may make the skin healthier for a long time."