The following example uses RGB( ) to change the background color of a Form to blue.
goMyForm = CREATEOBJECT('FORM') && Create a form
goMyForm.Show && Display the form
WAIT WINDOW 'Press a key to change the form color'
goMyForm.BackColor=RGB(0,0,255) && Change the form background color
WAIT WINDOW 'Press a key to release the form'
RELEASE goMyForm && Release the form from memory