Hi Michael,


You might be interested in Quartam Color Library for LiveCode - a free / open 
source software project available under the commercial-friendly LGPL license.

It has built-in functions for producing lighter and darker colors based on an 
RGB triplet.
For more information and download, just visit <http://www.quartam.com>


HTH,

Jan Schenkel.

=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


________________________________
From: Michael Kristensen <michael-kristen...@dsa-net.dk>
To: use-livecode@lists.runrev.com 
Sent: Monday, October 29, 2012 5:17 PM
Subject: Scripting shades of colors?

Hi there

Lets say I have a color a,b,c

Now I want the same color but fx 10% darker and 10 % lighter.

(As if you in the colorwheel palette dragged the scrollbar-thumb a little down 
and a little up)

How could one script this?

Thanks
Michael
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to