Does salt absorb food coloring?

Yes. But this occurs because salt is soluble in water, in which the coloring is dissolved. The color is retained by the salt crystals when they dry.