3DGS and (whatever painting program your using) are using a different pallete. 256 color & 8 bit do not store the RGB values, they only store an ID to lookup in the pallete. If they use a different pallete, then it's going to match the ID's with different colors...