The colors observed during twinkling are not limited to red, blue, and green but can encompass a spectrum of hues, including yellow, orange, and even purple. The exact colors depend on several factors, such as the star's brightness, its position in the sky, and the observer's location and atmospheric conditions.
The twinkling effect is more pronounced for stars that are near the horizon because their light has to travel through a greater amount of atmosphere. Stars that are higher in the sky appear steadier as the light's path is less affected by atmospheric turbulence.
It's worth noting that the actual color of a star is determined by its surface temperature and not by the twinkling effect. For instance, red stars are relatively cooler, while blue stars are hotter. These colors are inherent to the stars themselves and can be observed when viewing the night sky under stable atmospheric conditions without significant twinkling.