While the traditional yellow onion can be used for most any recipe, consider other types when shopping. Sweet onions, like the famous Vidalia, are best for salads or when serving onions raw. The colorful red onion is best for salads and grilling. White onions are best for Mexican dishes, including guacamole and fresh salsa. Shallots are best for sauces and dressings.