Uzyskaj losowy kolor 32

private Color32 GetRandomColour32()
{
    //using Color32
    return new Color32(
      (byte)UnityEngine.Random.Range(0, 255), //Red
      (byte)UnityEngine.Random.Range(0, 255), //Green
      (byte)UnityEngine.Random.Range(0, 255), //Blue
      255 //Alpha (transparency)
    );
}
Legion