Since these constants are built into VBScript, you don't have to define them before using them. Use them anywhere in your code to represent the values shown for each.
Constant | Value | Description |
---|---|---|
vbBlack |
&h00 |
Black |
vbRed |
&hFF |
Red |
vbGreen |
&hFF00 |
Green |
vbYellow |
&hFFFF |
Yellow |
vbBlue |
&hFF0000 |
Blue |
vbMagenta |
&hFF00FF |
Magenta |
vbCyan |
&hFFFF00 |
Cyan |
vbWhite |
&hFFFFFF |
White |