I fear the answer to my question might be obvious to many of you, still I couldn't explain it to me.
Using a parbox in an fbox and changing the textcolor works out as desired. But I came across a weird behaviour.
Depending on how I arrange the code the appearance changes: For reasons of coding readability I like to put brackets into new lines sometimes. But this results in this very case to the fact that text is not centered any more but shifted a bit to the left.
Is this always the case? Is there a sensible reason for this behaviour? Should I just stop coding that way?
Thanks in advance for your ideas and hints! (fyi: I guess a mwe is not need so I just provide a screenshot of the code.

{}button in the editor. – David Carlisle Mar 20 '16 at 13:48%) at the end of lines?, Why the end-of-line%in macro definitions?, Where are the necessary places to be appended with%to remove unwanted spaces? – barbara beeton Mar 20 '16 at 15:45%) so not obvious to someone just knowing the question, so I didn't close as dup – David Carlisle Mar 20 '16 at 16:37