How do I assign a color ramp to a 360° axis?
You can set a Gradient Texture to Radial for this. Here i combined it with the Object Output of the Texture Coordinate Node, but depending on your geometry you might have to put a Mapping node behind it.