Shades of Color
sarahr at genesearch.com.au
Wed Oct 9 16:59:01 EDT 2002
Convert the RGB values to HSV, then change S & V to alter the color
characteristics while staying with the same hue. Then convert back to
RGB to use it. If you want functions to do these conversions, let me
know, but they are also available as part of Monte Goulding's
ScriptLibrary (I forget the link but I think you can get to it through
the User Contributions).
On Thursday, October 10, 2002, at 07:47 am, Dan Friedman wrote:
> Here's one for ya...
> Does anyone know the algorithm to get a "Lighter" version of a RGB
> For example, if you have a RGB value of a shade of Green (0,176,23),
> and you
> want a version of this color that is 25% lighter (ie 25% more white).
> Any thoughts?
> Thanks in advance,
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode