Display RGB Value in monitor?

Discuss Lemur and share techniques.
Post Reply
whatisvalis
Regular
Posts: 153
Joined: 31 Dec 2011 17:12

Display RGB Value in monitor?

Post by whatisvalis »

This is probably a simple one, but can you display the RGB value of an Objects colour in a monitor?

cheers,

JD
brianc
Regular
Posts: 87
Joined: 10 Jan 2012 02:16

Re: Display RGB Value in monitor?

Post by brianc »

Sure, just set the value of the monitor to getattribute(some_object, 'color'). That for most objects, that'll show a vector of colors, e.g. for a CustomButton, it shows the on and off color values.
whatisvalis
Regular
Posts: 153
Joined: 31 Dec 2011 17:12

Re: Display RGB Value in monitor?

Post by whatisvalis »

Damn, so close! Pretty sure I tried that, must have had a grammatical error. Thanks for the help!
Post Reply