Why stars have different colors?