"Quais chapéus são vermelhos?"
Tradução:Which hats are red?
You use which when you are referring to a certain amount of things. Which hat were you going to buy? Which song did you listen to on the radio? Which of your children do you like better? Which state is the largest? --- Use what when the quantity is unspecified. What did you buy at the store? What did you eat at lunch?