Orange is the colour between yellow and red on the spectrum
The orange colour of carrots, pumpkins, sweet potatoes, oranges, and many other fruits and vegetables comes from carotenes, a type of photosynthetic pigment. These pigments convert the light energy that the plants absorb from the sun into chemical energy for the plants' growth. Similarly the hues of autumn leaves are from the same pigment after chlorophyll is removed.