V391 Pegasi the ejection of the hydrogen envelope of a red giant star at or just before the onset of helium fusion. The ejection left only a tiny amount of hydrogen on the surface - less than 1/1000 of the total stellar mass. The future for the star is to eventually cool down to make a low mass white dwarf. Most stars retain more of their hydrogen after the first red giant phase, and eventually become asymptotic giant branch stars. The reason that some stars, like V391 Pegasi, lose so much mass is not well known. In 2007, a gas giant planet
Blue giant both cooler and more luminous. Intermediate-mass stars will continue to expand and cool until they become red giants. Massive stars also continue to expand as hydrogen shell burning progresses, but they do so at approximately constant luminosity and move horizontally across the HR diagram. In this way they can quickly pass through blue giant, bright blue giant, blue supergiant, and yellow supergiant classes, until they become red supergiants. The luminosity class for such stars is determined from spectral lines that are sensitive to the surface gravity of the star, with more expanded and luminous stars being given I (supergiant) classifications