The primary and secondary colours have constants.

Code:
Me.BackColor = vbYellow
If hex is confusing for you, you can also specify the value in QBColor or RGB.

Code:
'Using QBColor
Me.BackColor = QBColor(14)

'Using RGB
Me.BackColor = RGB(255, 255, 0)