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 feature of the line (for example its starting point) to move it in the new position and keep the graphic properties.
Max