It's similar to the color codes of wiring...there are many different standards.

Pilot light len's colors differ according to industry. See NFPA-79 for some examples. It has a complete list. Ones I can think of are:
Amber = Running
Red = Stopped or abnormal condition
White = Status