well green stars exist according to this article, there are green stars but they emit yellow or white light!
so make texture green and glow yellow (everything solved)
The article is, quite simply, wrong...or more precisely, the author is ambiguous and either is outright wrong or partially right but contradicts themself (hard to tell since it's so short and lacks details)...
Let us first establish some basic physical concepts:
- Electromagnetic radiation has a spectrum, with visible light somewhere in the middle...for simplicity, we shall stick to the partcle understanding of electromagnetic radiation,....so, EM radiation is actually vast quantities of particles called photons...
- Colors like violet and blue correspond to shorter wavelengths (higher energy photons) while colors like red and orange correspond to longer wavelengths (lower energy photons)...
- All matter constantly emits EM radiation...this is known as blackbody radiation...
- Blackbody radiation manifests itself as a distribution of EM radiation with photons of varying wavelengths (energies)...this distribution is somewhat similar to a gaussian distribution (bell curve) though technically it has a different functional form...the "peak" of the bell curve would correspond to the wavelength that is emitted the most (not a majority, but more than any other wavelength)...we shall call this the "peak wavelength"...
- Temperature corresponds to black body emission in two ways:
- Hotter objects have a shorter "peak wavelenght" (more energy per photon)
- Hotter objects emit more radiation as a whole (more total photons)
Star color is determined by temperature...red stars have "cool" temperatures where the "peak wavelength" is closer to red than the rest of the visible light spectrum....blue stars have "hot" temperatures where the "peak wavelength" is closer to blue than the rest of the visible light spectrum...
So, what if a star's "peak wavelength" corresponded to green? Recall that the radiation emitted is not all of the same wavelength, but is rather a distribution...even if green is the "peak wavelength", comparable amounts of red and blue will also be emitted...while the green photons may be the most numerous, they do not significantly outnumber the other colors, and so you have a decent mix of all the colors which, as you may know, makes white light...
In general, star colors (going from coldest to hottest temperature) go from red to yellow to white to blue...
Very cool stars such as brown dwarfs have a "peak wavelength" way outside that of the visible spectrum (probably in the infrared)...this does not mean they don't emit visible light, but rather they don't emit as much visible light due to their temperature as hotter stars do...because of this, other sources of visible light such as electron excitation may become noticeable and affect the star's apparent color...this would be the only way you could ever get a star color outside of the conventional red -> orange -> yellow -> white -> blue spectrum, and I'm not aware of any stars theorized to emit mostly green (though I'm sure there are some gas giants that may)...