To set the RGB value to green and then change the colour of a Text object named score to green, use the following syntax:
ScoreCol = RGB(0,255,0)
UserScore.SetColour(ScoreCol)
Note:
A simply way of getting the RGB value for a colour is to move the mouse over the colour in the Colour Palette at the bottom of the Opus Editor – this will display the RGB values in a tooltip.