In this research, we employ the finite-difference time-domain (FDTD) method to simulate the propagation of sunlight in chameleon skin, which is composed of nanoscale iridophore cells, that is photonic crystal structure. The chameleon changes color by changing the arrangement of iridophores cells under different emotions, considering the effects of lattice arrangement, cell spacing, number of photonic crystal layers, and simulation resolution on the color of the organism's surface. Finally, compare the difference between the simulation results and the real image, and further discuss the accuracy and error.