Bell peppers begin at an immature green, but will change color as they ripen. If they remain on the plant, they will mature into a full ripe color. This time on the plant along with its color change, allows the flavor to become sweet.
Each bell pepper color has a different flavor, with red being the sweetest.