Can particles colour reference from the spline it's following?



Quick question, I have a particle system that follows a spline. I want the particles to change from white to blue, to yellow and then to red.

I have the particles following a spline using the speed follow node. The spline can be mapped with the colours.

So could the particles grab the colour from the spline as it passes by?

If not is there any other way to control the colour of the particles? I have tired using age maps, but it’s very limiting with only 3 slots.