SmallBASIC GuideThe language | Programming Tips | Commands | System | Graphics & Sound | Miscellaneous | File system | Mathematics | 2D Algebra | Strings | Console | Glossary |
The colors
- Monochrome
0 = black, 15 = white
- 2bit (4 colors)
0 = black, 15 = white, 1-6, 8 = dark-gray, 7, 9-14 = light-gray
- 4bit (16 colors)
16 Standard VGA colors, 16 colors of gray (on PalmOS)
- 8bit (256 paletted colors)
16 Standard VGA colors. The rest colors are ignored.
- 15bit (32K colors), 16bit (64K colors) and 24bit (1.7M colors)
Color 0..15 is the standard VGA colors, full 24-bit RGB colors can be passed by using negative number.
[Prev] [Next]