Set same color to both particle and particle strip

I have a particle system that needs a random color on initialization. I’m able to set a random number which is then read by a gradient sample. I can do this either for the particle or the particle strip, but not both. Essentially I need the particle and the particle strip to share the same random value, to be read by the gradient.

image