"color" is not available on win98.
As far as I know for dos 6.22 the options were
-Load ansi.sys and use the codes you want in your .bat (sucks, slows down the display)
-Debug and change command.com (too much trouble for a font color)
-Use some resident external utility (sucks too for obvious reasons)
Since you don't want to change the color but to restore it, there is no need to go through any of these. What we used to do for such programs back then was to run the mode.com command to reset the display to the default rows/columns which also restores the default color. You can add it as the last line of your .bat.
I can't remember the syntax, if you don't find your way around I can search it for you. It was like something mode con 80...
Edit: yeap, as I was typing this the answer was posted 😀 That's the trick!