We often see videos of octopuses and chameleons changing their color to suit their surroundings. If it was a simple color change from white to red, it'd be understandable, but some of these animals can change colors while incorporating a lot of detail.
How do they process so much information and mimic it. Is this a subconscious action, or do they actually draw a picture in their head and then 'print' it on their bodies? Does this ability come from birth or does it get better over time?