--- In [email protected], "Sheri" <sheri...@...> wrote:
> 
> Now why didn't I know that? :)
> 
> Do you know how to compute the r g b values?
> 

After a bit of research, I got this:

local choice = inputcolor
local R = Int64.Mod(choice, 256)
local G =  int64.Mod(math.Int(choice / 256), 256)
local B = int64.Mod(math.Int(choice / 256 / 256), 256)
win.debug(choice,"=",R, G, B)

Thanks again,
Sheri

Reply via email to