mIRC stores all program settings in mirc.ini. Backup that file. If you don't have a [colors] or [palettes] section, then the color was coming from a script, not your program settings.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"