getbkcolor
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The getbkcolor function returns the current background color. The
default background color is 0.
In a color text mode (such as $TEXTC80), getbkcolor returns a color
index. In a color graphics mode (such as $ERESCOLOR), getbkcolor
returns a color value (as used in remappalette).
See ◄Graphic Mode Colors►
In most cases, whenever a color argument is INTEGER*4, it refers to
a color value; and whenever it is INTEGER*2, it refers to an
attribute or color index. The two exceptions are setbkcolor and
getbkcolor.
Return Value
The function returns the current background color value.
-♦-