To break an RGB color value into its components, use:

    red = color Mod 256

    green = (color 256) Mod 256

    blue = color 256 256

 

There are some system colors that have funny values like &H8000000F&. Unfortunately they dont work this way