Warning Coloration
Many animals have defense mechanisms that help protect them from predators. In some cases, these animals have distinct coloring that signals predators of the presence of such defenses. This type of coloring is called warning coloration. If a predator does not recognize the meaning of this coloration and attacks, it may suffer significant discomfort or injury when its would-be prey employs its defense mechanism. As a result, the predator learns to associate the warning coloration with negative consequences, and will from that point forward avoid attacking animals that have that coloration.