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.