Onions and peppers are typically added to hash brown potatoes when the potatoes are served as a breakfast side dish. They add flavor, texture, and color.