Question: what is the relationship between the color and the temperature of a main sequence star?
Answer: Stars emit colors of many different wavelengths, but the wavelength of light where a star's emission is concentrated is related to the star's temperature - the hotter the star, the more blue it is; the cooler the star, the more red it is.