Humans associate color and flavor, useful if you need to know if something might taste good or not. Green apples are a little sour while red apples are more mild. Apple flavored candy is always of the slightly sour or tart flavor, so they make them green. If they made them red it could be off putting as the flavor doesn’t match what you expect from the color.
Latest Answers