Generalized Colorings of Graphs