Yes, pumpkins are green at first.
Based on the provided reference, it is confirmed that all pumpkins start out green. This initial green stage is part of their growth and development on the vine.
As the pumpkin matures, it undergoes a ripening process. During this time, it gradually ripens to orange, which is the color most commonly associated with pumpkins, especially for varieties used for carving and decoration like the Jack-o'-lantern.
The color change from green to orange signifies that the pumpkin is reaching maturity. According to the reference, once they are ripe the vine dies, and the fruit is ready to be harvested.
The ripening process is influenced by environmental factors. The reference states that with cooler temperatures and less sunlight, it is unlikely the pumpkins will ripen. If you have green pumpkins that aren't turning orange due to these conditions, you can try putting them in a sunny, warm area like a greenhouse or solarium to help facilitate the ripening.
In summary, the journey of a pumpkin typically begins as a green fruit that transitions to its characteristic orange color as it ripens on or off the vine under suitable conditions.