(via code.txt and mods.txt) but none of the clothes retain their color - they're always reset to black.
Code.txt can define RGB values for each element (top, bottoms, footwear, etc). If you subsequently load a SWF file with RGB support, then it will
usually inherit the RGB values set by Code.txt.
This isn't always true, because it's possible for each SWF file to include an internal charCode - and thereby establish a default color for itself. Example:
these cuffs will appear gold when loaded, but can be modified afterwards.
It's possible to block SWF files from applying their internal charcodes. But first, you should attempt to tweak your Code.txt file so that it specifies the desired colors for each item (because the blocking stuff might prove unnecessary).
Example: just put a T-Shirt on the girl, using the most recent RGB settings. If the Alpha value was set to 0, then the shirt might be
invisible. Invisible mods are very confusing for users, so we rarely use this approach when sharing charCodes.
Example: put a T-Shirt on the girl and make it red. This is the standard approach for sharing charCodes.
Example: don't actually put a shirt on the girl. Set the Top RGB slider to blue, so that the next shirt will (probably) appear blue. This approach is useless for sharing charCodes, but it may be useful when creating Character Folders (or when sharing embedding charCodes into SWF files).