Geo nodes cables help

Hello everyone,

I’ve just recently started to dig into geo-nodes as I wanted to make twisted cables. I managed to get what I needed…mostly. I have 3 cables twisted around themselves but they have a single material, while I want 3 different ones. Is there on option to do this inside geo-nodes? I know that I can convert curve to mesh but that’s not the point. I’m attaching screenshot (which might be too small to read though) and a blend file in case anybody would have time to look into this.

twisted cable.blend

Many thanks in advance!

Maciej Strzyga-Wolski