Diet, spectral quality, and intensity of light, background color, and ontogenetic changes. Some species are very plastic, others change little.
Search for color change in this forum. I've posted quite a few comments on color, particularly with N. wennerae.
Roy