Page 1 of 1

How to set background color in X16 Basic?

Posted: Sun Sep 17, 2023 8:08 pm
by KaiLikesToCode
You can set text color by using COLOR. How do I do background color?

Re: How to set background color in X16 Basic?

Posted: Mon Sep 18, 2023 4:39 am
by DragWx
"COLOR [foreground], [background]" will set the foreground and the background color of all new text printed from that moment on.

If you do "CLS" afterwards, the screen will clear, filling itself with the new background color.