Colors



Each color component (red, green or blue) on the NeoGeo is coded with 6 bits and 1 common bit (dark bit), effectively making full use of the 16 color definition bits (65536 colors palette).

Colors definitions are stored in palettes.

=Format=

A color word is composed in the following manner:

Which can also be seen in a simpler way:

With:
 * Red : R4~0
 * Green : G4~0
 * Blue : B4~0
 * The dark bit, used as a common LSB for the 3 components

The upper 4 bits of each component fit in 3 nibbles, making it easy to write or guess color values ($0F00 is red, $00F0 is green...).

=Color depth=

The NeoGeo's 16 bit color depth is close to the 15 bit depths of the SNES, GBA and Saturn consoles.

=Converter=

Enter 24 bit RGB values to get the NeoGeo color word.