Their wonderful colors are due to the loss of the shell as a protection. Some of them developed colors to achieve a perfect camouflage with their habitat, others on the contrary developed garish flamboyant colors to warn their predators about their toxicity.