Planetary Nebulae When smaller red giants expand outwards, they become planetary nebulae. The different colors that you see are a mixture of both the cooler inner layers, and the hot outer layers of the star.