Kyber crystal is the power source of the lightsaber. The color the cyber crystal is the color the blade is.
A kyber crystal, simply known as a kyber and described as a lightsaber crystal or the living crystal, was a rare, Force-attuned crystal that grew naturally and was found on various planets across the galaxy. Known in ancient times as a kaiburr crystal, it was used by both the Jedi and the Sith in the construction of their lightsabers. As part of their Jedi training, younglings were sent to the Crystal Cave of the ice planet of Ilum to seek their own lightsaber crystals. The crystal's mix of unique luster was called "the water of the kyber" by the Jedi.[2] There were also larger, rarer crystals of great power and that, according to legends, were used at the heart of ancient superweapons by the Sith.