This dark colour provides protection for the larvae by preventing them from being noticed by other insects and birds.