Return to previous page Return to menu Go to next page

Color mode

Color mode bit: color mode bit, bits 5 to 3
Specify the number of colors for drawing the sprite and the expression method. Valid only for sprites. For non-textures, set the color mode to 000B. For non-texture, specify the color with non-texture color.
There are three color mode specification methods: a color bank mode that uses a palette code and a color bank, a lookup table mode that uses a color lookup table, and an RGB mode that directly specifies brightness.
In color bank mode, you can choose from 16, 64, 128, or 256 colors depending on the number of bits of pixel data. You can draw 16 colors in the lookup table mode and 32768 colors in the RGB mode.
The contents of the color mode bit are as follows.

 0  
 1  
 2  
 3  
 4  
 5  
 Color Mode 
 Mode 
 content 
 
bits of 1 pixel
 bit 5 
 4 
 3 
 Number of colors 
 Mode name 
0
0
0
 16 colors 
 Color bank mode 
4bit
0
0
1
 16 colors 
 Lookup table mode 
4bit
0
1
0
 64 colors 
 Color Bank Mode 
8bit
0
1
1
 128 colors 
 Color Bank Mode 
8bit
1
0
0
 256 colors 
 Color bank mode 
8bit
1
0
1
 32768 colors 
 RGB mode 
16bit
 Other than the above 
 Prohibit setting (do not set) 


Return to previous page Return to menu Go to next page