White onions have a stronger flavor and are therefore mainly consumed cooked. They are known as the richest source of dietary flavonoids and may help fight colon and breast cancer because they contain a high amount of quercetin — a flavonoid with strong anticancer properties. Additionally, their red color is attributed to anthocyanin, a pigment that works together with quercetin to increase its ability to destroy cancer cells.