Like many animals, sharks skin when exposed to sun turns from a dark brown to black. Similar to humans the pigment melanin increases in response to radiation. The major difference is that sharks do not get skin cancer.
There have been a lot of laboratory attempts to induce skin cancer in sharks that have all failed. There is however a relatively high prevalence of skin cancer in fish, for example, has been recently reported at sites in the Great Barrier Reef Marine Park.