If a bacterium cannot use citrate agar will not change its color (stays green). On the other hand, if bacteria have the ability to use citrate, the medium will change its color from green to blue.
This happens because citrate agar contains pH indicator such as bromothymol blue which transforms from green to blue in alkaline conditions.
Nothing can photosynthesize in the night time even if the temperature goes up. But even then temperature has nothing to do with Photosynthesis.
Photosynthesis is a process used by plants and other organisms to convert light energy into chemical energy that can later be released to fuel the organisms' activities.