Hi rafi
I don't think you can keep the same color in your situation, because when you use the translate feature, you are not actually moving your line, but you are creating a new feature that represents the old line in the new position, so new feature default color. You should modify the parent...