Changing Background Color

Posted by Vanidor on Tue 24 Aug 2010 02:42 AM — 2 posts, 13,779 views.

USA #0
I was wondering if there was a way to change the default background color to something else. I vaguely recall doing it some time back but forgot what I did or where I found the answer; So far all I've found was how to change the standard <Regular and BOLD> text, but not the background Any help would be appreciated.

Thanks In Advance,
Vanidor
Australia Forum Administrator #1
The default background colour is normally ANSI "black". So to change it go green you would do this (in Lua):


SetNormalColour (1, ColourNameToRGB ("green"))


The first argument is 1 (code for black) and the second is how you want black to appear.

However if you have "Use Custom Colour 16 as the default" checked, then the default colour is custom colours 16's background, eg.


SetCustomColourBackground (16, ColourNameToRGB ("blue"))