Depends on the dye, not knowing what it was it is impossible to say anything.
Many dies are not stable, they get destroyed by UV or oxygen, or just decompose, this is to some extent their inherent property related to the presence of chromophores, which need to be easily excited.