Unicode Controls & Classes for VB6 - Version 4

clsGpSession.ColorFromARGB Function

Returns a GDI Plus color from ARGB values

Syntax
Public Function ColorFromARGB (ByVal alpha As Byte, _
ByVal Red As Byte, _
ByVal Green As Byte, _
ByVal Blue As Byte) As Long
Parameters
Parameter Description
ByVal alpha As Byte Alpha value (0..255)
ByVal Red As Byte Red value (0..255)
ByVal Green As Byte Green value (0..255)
ByVal Blue As Byte Blue value (0..255)
Remarks