Simply put, melanism occurs when dark-colored pigment develops in the skin or its appendages and is the opposite of albinism. Pseudo-melanism, also called abundism, is another variant of pigmentation, characterized by dark spots or enlarged stripes, which cover a large part of the body of the animal making it appear melanistic. Continue reading to see more.
Melanism related to the process of adaptation is called adaptive. Most commonly, dark individuals become fitter to survive and reproduce in their environment as they are better camouflaged. This makes some species less conspicuous to predators, while others such as black panthers use it as a foraging advantage during night hunting. Typically, adaptive melanism is heritable: A dominant gene, which is entirely or nearly entirely expressed in the phenotype is responsible for the excessive amount of melanin.
Adaptive melanism has been shown to occur in a variety of animals, including mammals such as squirrels, many felines and canids, and coral snakes. Adaptive melanism can lead to the creation of morphs, the most notable example being the peppered moth whose evolutionary history in the United Kingdom is offered as a classic instructional tool for teaching the principles of natural selection.
[Sources 1 | 2]