Conver a VB Color to RGB

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Demo:
ColorToRGB CStr(vbRed), r, g, b
MsgBox r & "," & g & "," & b

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: