A stars colour is determined by it's temperature. So in temperature scales from hottest to coolest. Blue Blue-white White Yellow-white Yellow Orange Red See related question.
Its temperature, its mass, and its luminosity. Its size, nor distance have nothing to do with the colour of a star, bar maybe diffusion through additional materials when viewed from Earth.