how detect collision within 2 objects with the same COLOR?

colision:

public class Colision : MonoBehaviour {

//public GameObject HaloPrefab; // empty with halo applied to it...

public Text points;

void OnCollisionEnter(Collision col){

    if ( col.gameObject.name == "Cube") {

        col.gameObject.SetActive(false); // Lo que hago es que si colisiona desaparezca el objeto, pero necesito que haga eso si ambos son del mismo color. 
    }

    if ( col.gameObject.name == "Cube(Clone)") {

        col.gameObject.SetActive(false);

    }     

}

You could get the Renderer.color property, or the Renderer.material.color property. Then you can compare it to Color.red.

if (col.gameObject.name == "Cube")
{
	Renderer r = col.gameObject.GetComponent<Renderer>();
	if (r && r.material.color == Color.red) // r != null, and material's color is red
	{
		col.gameObject.SetActive(false);
	}
}