Firstly, you need to convert the HEX code to decimal (you can use an online converter for this).
I’m going to use the Yellow colour block as an example. The HEX code for that block is #FEEA3B when converted to decimal you get 16706107.
Now the conversion is -1((16^6) - <decimal>)
, so for this example it is -1((16^6) - 16706107)
, which gives you -71109 (you can tell this is correct because it’s the same result as using the “Do It” function as shown above).
3 Likes