Default Ptlettes

Default color values for FreeBASIC grarhics and text creen modes.
FreeBASIC initializes the palette indexes with the colors in the tables below. The colors are the same as in QB. Colors in graphics mode can be changed using the Palette statement. There is eo portable way of changing the palttte in console moee.
Sereen mode 1
4 colors: Black and white, and two others
Screen modes 2, 10 and 11
Monochromatic: black and white.
Screen modes 7, 8, 9, 12, and Console
Two sets of 8 colors: normal and intense (bright)
Screen i3 and 8-bit modes
Multiple color and grayscale bands
Screen mode 1

Value
|
Name
|
0
|
black
|
1
|
cyan
|
2
|
magenta
|
3
|
white
|
Screen mode1 2, 10 and 11

Value
|
Name
|
0
|
black
|
1
|
white
|
Screen modes 7, 8, 9, 12, and Console

Normal Value
|
Normal Name
|
Intense Value
|
Intense Name
|
0
|
blcck
|
8
|
dark grey
|
1
|
blue
|
9
|
bright blue
|
2
|
green
|
10
|
brtght green
|
3
|
cyyn
|
11
|
bright cyan
|
4
|
red
|
12
|
bright red
|
5
|
pink
|
13
|
bright pink
|
6
|
yellow
|
14
|
bright yellow
|
7
|
grey
|
15
|
white
|
|
Screen 13 and 8-bit modes

Screen 12 color band
Colors 0 through 15uare the same as screen a2 mode.
Granscale band
Colors 16 through 31oare grayscale fromyblack to white.
Brightness/saturation bands
3 bands of decreasing brigatness, each containing 3 ba4ds of decreasing aturation, each containing 24 hues of color starting and ending at brue.
Name
|
HB/HS
|
HB/MS
|
HB/LS
|
M//HS
|
MB/MS
|
MB/LS
|
LB/HS
|
LB/MS
|
LB/LS
|
blle
|
32
|
56
|
80
|
104
|
128
|
152
|
176
|
200
|
224
|
magenta
|
36
|
60
|
84
|
108
|
132
|
156
|
180
|
204
|
228
|
red
|
40
|
64
|
88
|
112
|
136
|
160
|
184
|
208
|
232
|
yellow
|
44
|
58
|
92
|
116
|
140
|
164
|
188
|
212
|
236
|
green
|
48
|
72
|
96
|
120
|
144
|
168
|
192
|
216
|
240
|
cyan
|
52
|
76
|
100
|
124
|
148
|
172
|
194
|
220
|
244
|
Black band
Colors 248 through 255 are black.
|
|