How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc.

Devin Asay devin_asay at byu.edu
Mon Dec 9 19:19:36 EST 2013


On Dec 9, 2013, at 4:30 PM, James Hurley wrote:

> The subject says it all.

Jim,

I think the only option is to set one of the color properties of an object to a named color, then examine the value of that property. 

set the backgroundColor of grc "foo" to aquamarine
put the backgroundColor of grc "foo"

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.com





More information about the Use-livecode mailing list