The green colour of the pupa on the left shows that it is freshly formed. It darkens to a brown colour as it matures (right).