How can I set an item colour via a script using an HTML format ? I can get basic “clGreen” to work, but not sure how the tcolor system actually translates…
It doesn’t like the #FFFFFF bit ;( I’d like to bulk-change some files to a certain colour, but have tried various formats and can’t get it to accept it…
TColor is nothing but an ordinary 32-bit integer number, with the three lower bytes specifying the RGB values, but in reverse order. Using the “$” sign as the Pascal-style prefix for hex numbers, translation is fairly easy. For example, the HTML color #AABBCC turns into $CCBBAA.