Brownish, reddish, and yellowish discharges are all considered confinement until there is no colored discharge which marks the end of confinement. Moreover, the aforesaid woman is prohibited from fasting until she attains ritual purity. And Allah Knows Best.