>Hi Dragan,
>
>>This is what I use (with help of the rgbcomp() function from foxtools.fll):
>
>Thanks for dropping in and the input.
>
>At this stage I try to avoid dependancies as much as possible. Especially fll ones that alas do not fit well under molebox ultra at this time.
You can write your own as three one-liners:
GetRed=bitand(nColor, 255)
GetBlue=bitrshift(nColor, 16)
GetGreen=bitrshift(bitand(nColor, 0xff00), 8)