How rainbow-chasing chemists put the twinkle in modern astronomy's eye