public override bool Equals(object obj) { if (obj is Color) { Color c = (Color)obj; return c.a == this.a && c.b == this.b && c.r == this.r && c.g == this.g; } return false; }