====== RGB function ====== ==== Description ==== Returns the RGB (Red, Green, Blue) color value ==== Syntax ==== //retval// = RGB(//red//, //green//, //blue//) ==== Parameters ==== The RGB function has the following parameters: ^Parameter^Description^ |red|The red value (0 to 255)| |green|The green value (0 to 255)| |blue|The blue value (0 to 255)| ==== Returns ==== Returns the RGB color value that can be used for color-related operations. ==== See Also ==== [[backcolor|BACKCOLOR property]], [[forecolor|FORECOLOR property]], [[gradient|GRADIENTSTYLE property]] ==== Example ==== * Set the background color of a window to yellow (RGB(255,255,0)) declare subroutine set_property declare function RGB prevBackColor = Set_Property(@window,'BACKCOLOR',RGB(255,255,0))