Explanation: you see, the cretaceous period was 65 to 67 million years ago and that was the same time period for the trex to have been roaming around in.
Darwin’s theory suggests that there is some evolutionary advantage towards beetles because they can use camouflage as a defense strategy against predators.
Melanin helps the mouse survive because of the fur color. Its color helps it to blend into its surroundings, making it a lot harder for predators to kill it, as the predators have a harder time seeing the mouse.