She tested different chemicals to make bright, long-lasting colors that sailors could see from far away.