Chameleons camouflage to blend in.
The real reason chameleons change colour is to control their body temperature and to express mood. Cool, huh? As you can guess, darker colours absorb more light, so they'll swap to a lighter colour to stay cool. In terms of emotion, they'll darken their shade when they're scared and brighten when they're excited.