I am colorblind :( I have trouble seeing red and green.
What caused your color blindness?
I was actually born like this, which is strange because it's less common in females than males. 
ok when was colorblinded first recorded as a problem in history?
I'm actually not sure, but they use what's called an Ishihara color test in order to diagnose colorblindness. I presume most people don't know they are colorblind until much later. Perhaps it was a guy named Ishihara that discovered it?
Are there anything food or factors that lead to colorblindedness?
There are ways to become colorblind other than being born this way, for instance, physical or chemical damage to the eyes or optic nerves can lead to colorblindness.