RGB

Public Function RGB(ByVal Red As Long, ByVal Green As Long, ByVal Blue As Long) As Long

Returns a windows color from the specified reg/green/blue components (0-255)

For lCount = 0 To 255 Step 16
   SendDebug RGB(lCount, lCount, lCount) 'Generates grey scale colors
Next