Melanin is what I think you're referring to do, and it has something to do with dark pigment.

In humans, when a mole on the skin becomes cancerous, it is called a "melanoma" and moles themselves have something to do with "melanin" ... but the exact science behind it is not something I've studied to any extent.

Hope this helps ... a little

Jack