RGB2Long

Converts Red, Green and Blue integers into RGB long value

CodeFunctionName
What is this?

Public

Tested

Original Work
Function RGB2Long(sRed as integer, sGreen as integer, sBlue as integer)
' Converts RGB to Long value
' Based on the formula ... RGB = Red + (Green*256) + (Blue*256*256)
Rgb2Long = sRed + (sGreen*256) + (sBlue*256*256)
End Function

sRed as integer, sGreen as integer, sBlue as integer

Views 4,572

Downloads 1,381

CodeID
DB ID

ANmarAmdeen
604
Revisions

v1.0

Saturday
June
2
2018
Tags