Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formulation to convert a color number to RGB breakdown
Message
From
20/11/2001 09:23:16
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00583871
Message ID:
00583885
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
There is also a function in FoxTools.fll that will do this.
ln_Red   = -1
ln_Green = -1
ln_Blue  = -1
= RGBComp( 16777215, @ln_Red, @ln_Green, @ln_Blue )
>If you happen to know the formulation of converting a color # into RGB breakdown, could you please share it with me. For instance White color number is 16777215, I am looking formulation which gets RGB(255,255,255).
>
>Thank you,
Previous
Reply
Map
View

Click here to load this message in the networking platform