RGB

Previous  Next

 

rgb-color = RGB( r AS INTEGER, 

                 g AS INTEGER, 

                 b AS INTEGER ) AS INTEGER

 


 

Returns the RGB number for the Red(r), Green(r), Blue(b) components

 

Example:

 

PRINT "Color #";HEX( RGB( 2,3,4 ) ),   'Color #40302