You try to sign a value to tColor with the command set. The right command is 
put, as in this example, this works on my end:
put "#FFC0CB" into tColor

set the backgroundcolor of graphic 1 to tColor


Best regards 
Tore Nilsen

 
> 31. mai 2020 kl. 18:13 skrev Terence Heaford via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Our posts just crossed in the post
> 
> Can you answer my question about using hex in a variable when setting an 
> objects colour.
> 
> Thanks
> 
> Terry 
> 
>> On 31 May 2020, at 17:06, Mark Wieder via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> available colors.
> 
> _______________________________________________
> 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