Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Color Values
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00563099
Message ID:
00563111
Vues:
23
Hi!

nR+nG*256+nB*256*256

>Anyone know how to convert RGB color pairs to a
>number, like GETCOLOR() returns?
>
>For example, RGB(255,255,255) = 16777215 (White). I want to
>pass in the values 255,255,255 and get back 16777215.
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform