sure.
this returns the argb from r, g and b values:
and, if you want, there are also these functions:
these functions returns an integer value.
this returns the argb from r, g and b values:
Function ARGB(R%, G%, B%) Local res = B + G * 256 + R * 256 * 256 Return res End Function
and, if you want, there are also these functions:
Function Red(RGB) Local res = RGB / (256 * 256) + 256 Return res End Function Function Green(RGB) Local res = (RGB Mod (256 * 256)) / 256 + 256 Return res End Function Function Blue(RGB) Local res = (RGB Mod (256 * 256)) Mod 256 + 256 Return res End Function
these functions returns an integer value.