Two different colors of text in the same block with varying location

I’m trying to build a 2-alternatives forced choice task where the aim of the participant is to detect an oddball amongst gabor patches across two displays (the oddball is either in display 1 or 2). This is a group task for dyads, meaning two people will perform the task simultaneously. I wan’t to give feedback to the participants with regards to which of the displays the participants chose. After the trial the participants should receive a text saying something like:
‘Display 1
Display 2’
^This is if one of the participants chose display 1 and the other chose display 2.
I want to indicate which choice of display belongs to who by colours (blue and yellow).
As this is a perceptual task I also want to avoid spatial biasing, so switching the location of the chosen display feedback would be great.
I’ve created a text component and added this code component:

In Begin Experiment:
msg_decisions_declared = “”

In Begin Routine:
if key_resp_1.keys == ‘n’ and key_resp_2.keys == ‘o’:
msg_decisions_declared = ‘display, display 1’
elif key_resp_1.keys == ‘m’ and key_resp_2.keys == ‘o’:
msg_decisions_declared = ‘display 2, display 1’
elif key_resp_1.keys == ‘n’ and key_resp_2.keys == ‘p’:
msg_decisions_declared = ‘display 1, display 2’
elif key_resp_1.keys == ‘m’ and key_resp_2.keys == ‘p’:
msg_decisions_declared = ‘display 2, display 2’

Does anyone have suggestions on how to add color and switching spatial location*?
*(the feedback should be presented vertical instead of horisontal →
‘display 1
display 2’
instead of ‘display 1, display 2’.