Array Color material

how can I make an array of colors for a mesh?

var colors : Color[ ] = new Color[count];

//

Color[ ] colors = new Color[count];

thank you very much for your reply. I wanted to do is that every five seconds the object changes color (random) I do a loop in this case?

cambiaColore.Push(Color.blue);
cambiaColore.Push(Color.yellow);
cambiaColore.Push(Color.green);
cambiaColore.Push(Color.magenta);



var tempoRimanente:int = 0;



function Start () {
countdown();


}

function Update () {
  
    //if(tempoRimanente == 5){
    
    var randomColor;
    
    randomColor = cambiaColore[Random.Range(0, cambiaColore.length)];
    
      
    renderer.material.color = randomColor;
    
   //}


}

function countdown(){

      while(true) {
      
      tempoRimanente = tempoRimanente + 1;
      yield WaitForSeconds(1);
      
      
      
      
      }






}

solved thanks =)