public override bool Equals(Object other) { if(!(other is Palette)) return false; return this.cp.Equals(((Palette)other).cp); }