Why do stars appear to have different colors