The main reason for color change is for communication with other chameleons and for controlling body temperature . By changing to dark colors , their bodies absorb heat .
They can change color rapidly and the primary purpose of color change is for communication with other chameleons and for controlling body temperature by changing to dark colors to absorb heat .