There is a lot of color configurations in TC's ini file.
However, storing the colors as decimal value -- as it currently is -- makes manual editing very inconvenient.
It would be great if TC could accept the #RRGGBB format for colors...
(Or any other format where the r/g/b components are clearly separated from each other.)
Color code format in TC ini files
Moderators: Hacker, petermad, Stefan2, white
Re: Color code format in TC ini files
If i remember correctly already accept BGR in "$BBGGRR" form
(Although i agree that #RRGGBB would be better - easy to copy from any standard color picker or graphic editor)
(Although i agree that #RRGGBB would be better - easy to copy from any standard color picker or graphic editor)
Re: Color code format in TC ini files
https://www.ghisler.ch/board/viewtopic.php?p=346108
You can use HTML RGB-HEX color code but in BGR notation in wincmd.ini.
Example:
Blue -as- RGB => #0000FF
Blue -as- BGR => FF0000
Delphi/TColor => $FF0000
Now use $FF0000
-or-
Decimal => (Blue*65536) + (Green*256) + Red
FF0000 => FF=255 , 00=0 , 00=0
Decimal => (255*65536) + (0*256) + 0 ==> 16711680)
See help > ini file settings >> search for RGB or for BackColor
You can use HTML RGB-HEX color code but in BGR notation in wincmd.ini.
Example:
Blue -as- RGB => #0000FF
Blue -as- BGR => FF0000
Delphi/TColor => $FF0000
Now use $FF0000
-or-
Decimal => (Blue*65536) + (Green*256) + Red
FF0000 => FF=255 , 00=0 , 00=0
Decimal => (255*65536) + (0*256) + 0 ==> 16711680)
See help > ini file settings >> search for RGB or for BackColor
Re: Color code format in TC ini files
Right, Delphi uses the $bbggrr notation. I could have guessed.
Thank you!
Thank you!