I need to change this:
to this:

The twirled tunnel was sophistically crafted from multiple properties, now I need to apply a unique coloured marshmallow material to each current (will reduce to 5 currents)
File download:
I need to change this:
to this:

The twirled tunnel was sophistically crafted from multiple properties, now I need to apply a unique coloured marshmallow material to each current (will reduce to 5 currents)
File download:
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).