How can I find the analog output of a color sensor?
Depends on what programming software you are using.  The education versions of the NXT and EV3 software having data logging features that may be what you are looking for.

The education versions of NXT and EV3 programming software are available for purchase from www.education.lego.com