changing the color of each particle trough code does not want to work

hi , i’ve been trying to change the color of each particle of a system particle of a system and this piece of code should do exactly that acording to the scripting reference ,

i know im getting the refereces to each particle correctly since ive managed to get a readout of their positon but i cant get their color to change it just stays white

should i be changing it on the renderer ?

using UnityEngine;
using System.Collections;

public class particlerelative : MonoBehaviour
public Transform emiter;
private Particle[] particles;
	void Start()
	{particles = emiter.particleEmitter.particles;}
void LateUpdate ()
{	for (int i=0; i < particles.Length; i++)
	{particles*.color =;}*

particles=emiter.particleEmitter.particles ;

  •  }}*

You haven’t assigned the array back to the particle emitter.