The concentration of pigment in a chameleon's skin cells determines its color.