Hi, welcome to the forum

Maybe something like this...
=countifs(age-range,">=20",age-range,"<=30",color-range,"<>red")