Unicode Controls & Classes for VB6 - Version 4
clsCommonWrapper
.ColorToComponents Method
Return RGB components of a given color
Syntax
Public Sub ColorToComponents (ByVal
lColor
As Long, _
ByRef
iRed
As Integer, _
ByRef
iGrn
As Integer, _
ByRef
iBlu
As Integer)
Parameters
Parameter
Description
ByVal
lColor
As Long
Color
ByRef
iRed
As Integer
(OUT) RED byte
ByRef
iGrn
As Integer
(OUT) GREEN byte
ByRef
iBlu
As Integer
(OUT) BLU byte
Remarks