How can you get the trigger option color codes from a style run?
i.e.
For white on blue, a stylerun has:
1:
"backcolour"=8388608
"length"=7
"style"=0
"text"="example"
"textcolour"=12632256
Trigger has:
<triggers>
<trigger
back_colour="12"
match="*"
match_back_colour="y"
match_text_colour="y"
send_to="12"
sequence="100"
text_colour="15"
>
<send>print("Critter!")</send>
</trigger>
</triggers>
How can I turn 8388608 into 12, etc?
i.e.
For white on blue, a stylerun has:
1:
"backcolour"=8388608
"length"=7
"style"=0
"text"="example"
"textcolour"=12632256
Trigger has:
<triggers>
<trigger
back_colour="12"
match="*"
match_back_colour="y"
match_text_colour="y"
send_to="12"
sequence="100"
text_colour="15"
>
<send>print("Critter!")</send>
</trigger>
</triggers>
How can I turn 8388608 into 12, etc?