Socially savvy people are often called chameleons for the way that they adapt to their social surroundings.
However, there's a major flaw in that metaphor. It's actually a myth that chameleons change colors as a response to the colors of their surroundings. Their ability to change colors is not about camouflaging themselves. Rather, their color changes in response to mood, temperature and light. And their coloring is primarily a form of communication, such as whether or not they're willing to mate.
So chameleons don't change color to look like something they're not; they actually change color to reveal their true feelings.
The chameleon's skin is made up of a number of layers that serve different functions. The outer layer is transparent. Under that layer are two layers of red and yellow pigments. Under this are layers that reflect blue and white light, and below that are layers of brown melanin.
The cells in these various layers respond to internal chemical reactions, as well as to external light and heat, by expanding or contracting. For example, when a chameleon is calm it might look green in color because the contracted yellow pigment cells allow blue-reflected light to pass through. When a chameleon is angry the yellow pigment cells expand, thus preventing light from reflecting off of the layers of cells below.
"A Truly Bizarre Lizard" (PBS)