The rainbow riddle