Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color generation Part II
Message
From
11/04/2002 07:03:14
 
 
To
10/04/2002 11:47:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00643022
Message ID:
00643622
Views:
14
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform