Although I chose to use yellow onion, you can use red onion for a milder flavor. Yellow onions are the most commonly used and have a spicy and strong flavor. White onions are even sharper than yellow and have a crisp and clean flavor with a kick. For a sweeter burger, use sweet onions. Vidalia onions are the most common and taste great raw or cooked.