RGB(red, blue, green)

Returns the number representing an RGB colour value (Long).


redThe red component of the colour (Integer).
blueThe blue component of the colour (Integer).
greenThe green component of the colour (Integer).

REMARKS
* The "red" is an integer between 0-255, inclusively.
* If "red", "blue" or "green" > 255, then 255 is used.
* The colour values returned by this function are not compatible with those used on the Macintosh.
* The equivalent .NET function is Microsoft.VisualBasic.Information.Rgb
* For the Microsoft documentation refer to docs.microsoft.com

RGB(0, 0, 0) = ?? = Black 
RGB(0, 0, 255) = ?? = Blue
RGB(0, 255, 0) = ?? = Cyan
RGB(0, 255, 255) = ?? = Green
RGB(255, 0, 0) = ?? = Red
RGB(255, 0, 255) = ?? = Magenta
RGB(255, 255, 0) = ?? = Yellow
RGB(255,255,255)=16777215 = White

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top