The Vector to colour node converts the Input vector into a colour. This conversion happens according to the node input type conversion rules which are described here.