Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color generation Part II
Message
 
 
À
10/04/2002 11:47:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00643022
Message ID:
00643622
Vues:
15
Hi!

As I said, try to find a formula to convert Hue/Sat/Lum parameters for color to RGB. This will give you a smooth colours approach.

>>Not sure if this helps, but you might want to investigate in direction of how VFP's GetColor() dialog box works. There are 3 parameters - Hue (color position), Sat (contrast) and Lum (brightness). There are formulae exists to convert these 3 values to RGB color, but I do not have it handy and do not remember where I saw it.
>
>That gives blocks of colors which I am trying to avoid. I'm looking for a smooth color palette generation. LViewPro succeeds pretty well in offering all the colors when working with the global palette. This is what I am looking for.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform