Author Topic: Inverse Video colour option on palette for controls  (Read 2953 times)

Stumpy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Inverse Video colour option on palette for controls
« on: March 04, 2019, 03:06:40 PM »
Not sure if any one has requested/suggested it, but I think "Inverse Video" is easy to implement colour option perhapse placed next to the current "Transparent" selection on the colour palellet of the controls options eg BasicLabel.

So doing this manually it is possible weird colour combinations but simply... eg Forecolor = 32, 32, 32 and you want the text to stand out on the BasicLabel (ie the inverse or contrast that selection...) to the Backcolor = 223, 223, 223

ie formula is: 255 - 32 = 223 for each component  in this simple case (you may not have same value R, G, B component but each subtracted from 255 will contrasting or inverse colour.

Hope this can be implemented.