Can you use hair dye if it was left open overnight?

Its all mixed from lastnight when i used it but now its a really shit brown color and i was wondering if im still able to use it or if I should toss it?