Aren't there gourds or squashes that LOOK like differently-colored pumpkins? I see them in markets as decoration during the autumn. Maybe it isn't a pumpkin...
HORT410 - Vegetable Crops
Squash, Pumpkins & Gourds - Notes
Common names: squashes, pumpkins and gourds.
Latin names: predominantly of the genus Cucurbita; including Cucurbita pepo L., Cucurbita maxima Duch. ex Lam, and Cucurbita moschata Duch. ex Lam.
Family name: Cucurbitaceae [Cucurbitaceae Images].
Closely related to cucumber, muskmelon and watermelon.
All are annuals.
Warm season species, frost-susceptible; all have a growing temperature optimum of between 18 and 24 C.
Pollinated by bees.
Origin: South America; cultivation had spread throughout the Americas by the time the first Europeans arrived.