If they're like other color changing tree frogs, usually it's at random, or to match their background, or the change happens when there's a temperature or humidity change in their environment. It's hard to predict.