-
Notifications
You must be signed in to change notification settings - Fork 1
Palettes
Rebecca G. Bettencourt edited this page Aug 28, 2014
·
2 revisions
When the high bit of the control channel is set and the high two bits of the red channel are clear, the value of the field is used as an index into a color palette. That color in that color palette is the color that will be displayed. The blue channel determines which palette:
Dec | Hex | Colors |
---|---|---|
0 | 0x00 |
|
1 | 0x01 |
|
2 | 0x02 |
|
3 | 0x03 |
|
4 | 0x04 |
|
5 | 0x05 |
|
6 | 0x06 |
|
7 | 0x07 |
|
8 | 0x08 |
|
9 | 0x09 |
|
10 | 0x0A |
|
11 | 0x0B |
|
12 | 0x0C |
|
13 | 0x0D |
|
14 | 0x0E |
|
15 | 0x0F |
|
16 | 0x10 |
|
17 | 0x11 |
|
18 | 0x12 |
|
19 | 0x13 |
|
20 | 0x14 |
|
21 | 0x15 |
|
22 | 0x16 |
|
23 | 0x17 |
|
24 | 0x18 |
|
25 | 0x19 |
|
26 | 0x1A |
|
27 | 0x1B |
|
28 | 0x1C |
|
29 | 0x1D |
|
30 | 0x1E |
|
31 | 0x1F |