Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
vbRed
vbGreen
vbBlue
.....
Function RGBRev(ColorValue As Long) As String
RGBRev = CStr(ColorValue And 255) & "R " & CStr(ColorValue \ 256 And 255) & "G " & CStr(ColorValue \ 65536 And 255) & "B"
End Function
' Put this declaration at the top of a standard module
Public Type ColorTriplet
Red As Integer
Green As Integer
Blue As Integer
End Type
Function RGBRevTriplet(ColorValue As Long) As ColorTriplet
With RGBRevTriplet
.Red = ColorValue And 255
.Green = ColorValue \ 256 And 255
.Blue = ColorValue \ 65536 And 255
End With
End Function