How to modify each current's material of a twirl
You can use a ColorRamp to create the pattern.
The Modulo and Divide nodes control the number of Color segments (5 in this example).
Note: You can only use up to 10 segments (you're limited by the Array modifier).