Returns an Integer value representing the RGB color code corresponding to the specified color number.
Required. A whole number in the range 0–15.
|Exception type||Error number||Condition|
Color is outside of range 0 to 15, inclusive.
See the "Error number" column if you are upgrading Visual Basic 6.0 applications that use unstructured error handling. (You can compare the error number against the.) However, when possible, you should consider replacing such error control with .
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)