The larvae change colours by making use of certain factors after quite complicated chemical processes.