Code:
Red=Color mod 256
Green=int(Color/256) mod 256
Blue=int(Color/&H10000)