Return a whole number representing an RGB colour value.
Syntax Rgb(Red,Green,Blue) Key Red Number in the range 0-255 representing the red component of the color. Green Number in the range 0-255 representing the green component of the color. Blue Number in the range 0-255 representing the blue component of the color.
For any argument, numeric values over 255 are assumed to be 255.
Dim intColR, intColG, intColB
intColR = 255
intColG = 0
intColB = 0
WScript.Echo RGB(intColR, intColG, intColB)
“Therefore in 1909 I announced one morning, without any previous warning, that in the future we were going to build only one model, that the model was going to be "Model T," and that the chassis would be exactly the same for all cars, and I remarked: Any customer can have a car painted any colour that he wants so long as it is black” ~ Henry Ford
GetLocale - Return the Regional LocaleID
© Copyright SS64.com 1999-2013
Some rights reserved