In terms of diet, I suggest you eat more fresh vegetables or fruits, eat more tomatoes and carrots that are good for your eyes, drink more soup with high calcium content, such as some bone soup, and eat less spicy food.
If you are not sure whether you are red-green color blind, I suggest you go to some large regular hospitals to have a comprehensive examination of your eyes, because the medical equipment in large hospitals is relatively complete, which will help patients understand their illness more clearly.