public int CompareTo( object obj ) { ColorEx other = (ColorEx)obj; if ( this.a == other.a && this.r == other.r && this.g == other.g && this.b == other.b ) { return 0; } return 1; }