QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The PALETTE USING statement sets all RGB screen color intensities using values from an Arrays.

Syntax

PALETTE USING array%(startIndex%)

Description


**              Screen mode       Attributes       Colors         Values**
                   0              0 - 15         0 - 63           16
                   1              0 - 3          0 - 3             4
                   2              0 - 1          0 - 1             2 
                   7              0 - 15         0 - 15           16
                   8              0 - 15         0 - 15           16
                   9              0 - 15         0 - 63           16
                  10              0 - 3          0 - 8             4
                  11              0 - 1          0 - 1             2
                  12              0 - 15         0 - 262,143      16
                  13              0 - 15         0 - 263,143     256 

See Also