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

Syntax: 
Return Integer=RGBR(Red Value)