qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RGB Function
  Summary                                      Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Returns the Basic color value that most closely approximates the RGB color
 generated in Visual Basic for Windows; provides compatibility with Visual
 Basic for Windows.
 
    x% = RGB(red%, green%, blue%)
 
    ■ x%           Valid color attribute in the range 0 to 15, inclusive
 
    ■ red%         Integer value in the range 0 to 255, inclusive, that
      green%       represents the intensity of the color
      blue%
 
 See Also
    Color Attributes and Values (Objects)     QBCOLOR Function