I have also needed to use all three of the RGB command example(RGB(120, 255, 129)) to calculate colors.
This is because the below formula from documentation makes no sense.
Mathmatics would indicate the below needs brackets. What are the little plus symbols right next to the number mean? is it an addition symbol or something other
65536 * Blue+ 256 * Green+ Red