A star temperature is based on its color.