Hi,
I'm coming up to the end of a couple of projects so I started looking more closely at mergAnswerColor. I can get it to work but it will only out-put colors in hex. To set the backgroundColor of say a grc, you need the RGB or the color name. I looked on the forum and found ways to convert RGB to the color name and how to convert color name to RGB but nothing on converting from hex to RGB. Does anybody have a method for doing this? Would be nice if Monte could give use a choice of out-puts... Monte... huh Monte?
mergAnswerColor - hex only? SOLVED
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
mergAnswerColor - hex only? SOLVED
Last edited by quailcreek on Wed Jan 17, 2018 7:37 pm, edited 1 time in total.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mergAnswerColor - hex only?
You can use hexadecimal for colors, just be sure to put the hash sign before the hex.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: mergAnswerColor - hex only?
Thank you, Jacqueline. That crossed my mind but I thought it couldn’t be that simple. Duh...
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: mergAnswerColor - hex only? SOLVED
Just in case anybody is interested in poking at mergAnswerColor here's a sandbox to get you started.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14