This command will extract the green component value from the specified RGB value. You can generate an RGB value from color components using the RGB command.

Syntax: 
Return Integer=RGBG(Green Value)