Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to extract RGB from integer color value
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00883934
Message ID:
00884037
Views:
9
>Does anyone know how can I extract the individual RGB colors from the integer value returned by GETCOLOR()?
>
>For example, if I select a greenish-color in GETCOLOR() it returns 8421376. I need to stuff the individual into a charting ActiveX control on the form that requires the color in the RGB(x,y,z) format.
>
>TIA!

There is also FAQ#7951 "How can I get RGB(...) value from a color number?"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform