RGB Function
SyntaxGroupRGB(red, green, blue)
MiscellaneousDescription
Return a color. Some useful color constants are predefined:See Also
- vbBlack - same as RGB(0,0,0)
- vbRed - same as RGB(255,0,0)
- vbGreen - same as RGB(0,255,0)
- vbYellow - same as RGB(255,255,0)
- vbBlue - same as RGB(0,0,255)
- vbMagenta - same as RGB(255,0,255)
- vbCyan - same as RGB(0,255,255)
- vbWhite - same as RGB(255,255,255)
QBColor( )
Sub Main Debug.Print Hex(RGB(255,0,0)) '"FF0000" End Sub