Change color of individual particles

How would I go about changing the color of individual particles?

I am looping through all my particles, and setting the color like this:

particleArray*.color = mycolor;*
Where particleArray is later set to the object’s ParticleEmitter.particles property.
This is having no effect, and the particles remain their default pink color.

[Comment converted to answer]

You’ve done it the same as in this article?

Pink is the color Unity draws things with when something’s wrong with a material, like if it’s missing entirely, or if a shader failed to compile. Could this be your problem?