public override bool Equals(Object obj) { if(obj==null || GetType()!=obj.GetType()) return false; return (this == (HSB)obj); }