Colors of a galaxy