What Determines The Color Of A Photon