Yep. If you want to convert to individual colors:
---
Public Function RedFromRGB(ByVal RGB As Long) As Integer
RedFromRGB = &HFF& And RGB
End Function
Public Function GreenFromRGB(ByVal RGB As Long) As Integer
GreenFromRGB = (&HFF00& And RGB) \ 256
End Function
Public Function BlueFromRGB(ByVal RGB As Long) As Integer
BlueFromRGB = (&HFF0000 And RGB) \ 65536
End Function
---
Main Topics
Browse All Topics





by: AzraSoundPosted on 2000-06-29 at 10:42:57ID: 3126412
you can use it directly:
Label1.BackColor = &HFFFFFF