I don’t know about any of your examples, but mollusks often have very different coloration within the same species. Sometimes this is diet, sometimes habitat, sometimes age, sometimes genetic. We don’t always know why, though. But people are trying to find out!
https://forum.inaturalist.org/t/winklewatch-a-community-science-project-on-snail-colour/54080
2 Likes