Sunlight ruins brake fluid. More than likely that was from years of the sun beating through the window.
Some brake fluid is that dark but most arnt. I would say you were due for a change. Dot4 or better is fine for ATV's you can run dot3 if your in a bind without a prob. All it is, is the heat resistance.