So I'm ripping graphics out of an old game, early 90s 8-bit era, same as Doom. Unlike Doom it has transparencies. How the handled it was to have 6 magic colors. When the engine went to draw one of these colors, it would instead do a lookup on the pixel under where it was drawing and use a translation palette to decide the color to draw.
So I've lined up these translation palettes next to the original palettes. What's the best way to come up with a 32-bit ARGB color code that will give me the same effect for each of these 6 transparencies?
