The diversity of butterfly larval color pattern has been attracted to people since Darwin’s time; however, its molecular mechanisms still remain largely unknown. Larval body markings often differ completely between closely related species under natural selection. The final instar larvae of the swallowtail butterflies Papilio xuthus and Papilio polytes show a green camouflage pattern, whereas those of Papilio machaon show a warning color pattern, although P. xuthus and P. machaon are closely related species. To identify the genes that contribute to species divergence, we compared the expression pattern of eight pigment-associated genes between three Papilio species. The spatial expression pattern of melanin-related genes coincided with the species-