Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ff6a:data:formats:palette [2016/10/21 17:46] madsiur created |
ff6a:data:formats:palette [2019/02/12 11:38] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== GBA Palettes ==== | ==== GBA Palettes ==== | ||
- | On the GBA, similar to the SNES, palettes are in 4bpp format. Each color component (r, g, b) of the palette occupy 5 bits for a total of 2 bytes. Bit 0 (x) is transparency: | + | On the GBA, similar to the SNES, palettes are in 4bpp format. Each color component (r, g, b) of the palette occupy 5 bits for a total of 2 bytes. Bit 0 (x) is transparency. If you palette is 32 bytes, it has 16 colors. |
- | | $00 | xbbbbbgg | + | | $00 | '' |
- | | $01 | gggrrrrr | + | | $01 | '' |