I think maybe I'm not explaining my problem very well. I understand how to do the color replacement with the armor ruleset, I just don't understand how to carry over those changes for corpses/inventory. See the screen shots and ruleset code below. The first part works for the live units, but once they are corpses the color change stops:
armors:
- type: STR_NONE_UC
spriteFaceGroup: 6
spriteFaceColor: [96, 96, 96, 96, 160, 160, 163, 163] #M0 F0 M1 F1 M2 F2 M3 F3
spriteHairGroup: 9
spriteHairColor: [144, 144, 164, 164, 245, 245, 166, 166] #M0 F0 M1 F1 M2 F2 M3 F3
- type: STR_POWER_SUIT_UC
spriteRankGroup: 5
spriteRankColor: [16, 35, 68, 211, 205, 7]
- type: STR_FLYING_SUIT_UC
spriteRankGroup: 5
spriteRankColor: [16, 35, 68, 211, 205, 7]
EDIT: I deleted the incorrect ruleset code here so it didn't confuse someone who stumbled on this thread and tried to do something similar.