What's the proper way to get the inverse of a rotator? I don't think what I tried is right

Have you tried to adding 180 to pitch, roll, and yaw?