What do you call a type of vertex labeling in which each vertex is connected to a vertex of every other label? (Two adjacent vertices are allowed to have the same label so it's not technically a coloring.)
So if the vertices are labeled $1$–$3$, all vertices labeled $1$ must be adjacent to at least one "$2$" vertex and at least one "$3$" vertex.
Alternately, you could see this as a graph invariant: for a given graph, what is the largest number of labels such that there is such a vertex labeling? Of course this could be at most one more than the minimum degree of the graph.
You are looking for a partitioning of the vertex set into a maximum number of dominating sets. That is, every color class has to be a dominating set, i.e., each vertex must see at least one of each color different from its own in its neighborhood.
This problem or invariant is known as domatic number, and it has been quite heavily studied. It's well-known to be NP-complete, and there are many algorithmic and combinatorial results for it.
If you insist that each vertex sees every color in its neighborhood (including its own), you are looking at the total domatic number, i.e., a partition of the vertex set into total dominating sets.