Ice Diamond Riddle SOLUTION ft. Vsauce's Michael Stevens

Great video ! , answer to the riddle :
You can determent how hot the star is by looking at the spectrum because each element has a unique emitting spectrum and the most abundant element will have the most dominant  spectrum , the heaviest the element is the hotter the star is .