Browns and bays are both black based. There are two types of agouti (theorized to be three actually, the third being wild bay). One makes bay, one makes brown. IIRC bay is dominant over brown, so a horse that is A/At will be a bay. To get a bay the horse would either need to be At/At or At/a.