Colors

From NeoGeo Development Wiki
Jump to navigation Jump to search
All 65536 (2^16) possible NeoGeo colors.

D R0 G0 B0 R4 R3 R2 R1 G4 G3 G2 G1 B4 B3 B2 B1

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Def Dark bit R0G0B0R4R3R2R1G4G3G2G1B4B3B2B1

Each color component is coded with 6 bits, with 1 common LSB (dark bit), effectively making full use of the 16 color definition bits.

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

Converter

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