Scripting shades of colors?

Jan Schenkel janschenkel at
Mon Oct 29 13:10:50 EDT 2012

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 <>


Jan Schenkel.

Quartam Reports & PDF Library for LiveCode

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

From: Michael Kristensen <michael-kristensen at>
To: use-livecode at 
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?

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 

More information about the Use-livecode mailing list