Thanks for writing to us.
The change in the color vision
is not likely to have such a sudden onset. In most of the cases, it is congenital. You need to consult an ophthalmologist for a detailed examination to know the cause.
I hope this information has been both informative and helpful for you. You can consult me again directly through my profile URL http://bit.ly/Dr-Rakhi-Tayal