Color palette (Generations I–II): Difference between revisions

m
Line 305: Line 305:
===Game Boy Color, Game Boy Advance, and Game Boy Player===
===Game Boy Color, Game Boy Advance, and Game Boy Player===


The [[Game Boy Color]], [[Game Boy Advance]], and [[Nintendo GameCube]] with [[Game Boy Player]] are compatible with all original Game Boy and Game Boy Color games. Like the Super Game Boy, the color palettes consist of 4 entries for {{wp|List_of_video_game_console_palettes#Game_Boy_Color|15-bit RGB color values}}. But unlike the Super Game Boy, these systems are incapable of displaying the Super Game Boy's color palettes, and instead utilize their own predefined color palettes for colorizing monochrome Game Boy games.
The [[Game Boy Color]], [[Game Boy Advance]], and [[Nintendo GameCube]] with [[Game Boy Player]] are compatible with all original Game Boy and Game Boy Color games. Like the Super Game Boy, the color palettes used consist of 4 entries for {{wp|List_of_video_game_console_palettes#Game_Boy_Color|15-bit RGB color values}} (2 bytes long, little-endian format). But unlike the Super Game Boy, these systems are incapable of displaying the Super Game Boy's color palettes, and instead utilize their own predefined color palettes for colorizing monochrome Game Boy games. In addition, the formula for displaying the color values is also different from that of the Super Game Boy.


The RGB channel values for red, green and blue are stored as 5-bits each (within 2 bytes, little-endian), but are displayed on screen as 8-bits each.
The RGB channel values for red, green and blue are stored as 5-bits each, but are displayed on screen as 8-bits each.
* <math>displayed = rounded(\dfrac {internal \times 255}{31})</math>
* <math>displayed = rounded(\dfrac {internal \times 255}{31})</math>


166

edits