Lcd Color Display (Cgb Only); Color Palettes - Nintendo GAME BOY Programming Manual

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual

2 LCD COLOR DISPLAY (CGB ONLY)

The LCD unit of the CGB system can display 32 shades each for RGB, for a total 32,768 colors.
A single color palette consists of 4 colors selected from among these 32,768. One of 8 palettes
can be selected for each BG and OBJ character.
transparent data, each OBJ color palette consists of 3 colors. The color palettes for BG and
OBJ are independent of one another.

2.1 Color Palettes

!
Eight palettes each are provided for BG and OBJ.
!
Each palette consists of 4 colors and is specified by the display dot data (2 bits)
(palette data nos. 0-3).
!
The color palettes represent each color with 2 bytes, with 5 bits of data for each
color of RGB (32,768 displayable colors).
Color Palette H
7
6
5
4
3
2
1
0
However, because each OBJ includes
Color Palette L
7
6
5
4
3
72
2
1
0
RED Data
GREEN Data
BLUE Data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents