 As the larvae matures, its color changes from white/yellow to pink/green.The thorax contains small black spots as well as bristles on each segment, and the larvae typically feeds on its host plant for up to two weeks before pupation.In order for the larvae to determine if it wants to mine a particular host plant, it first spends 5–15 minutes walking around the leaves, attaching a thread of silk to the surface as it goes.