From SMWiki
On the SNES, a color is consists of two bytes, each with five bits per color channel.
gggRRRRR 0BBBBBGG
RRRRR is the red value
GGggg is the green value
BBBBB is the blue value
(The leftmost bit of the second byte is unused and should be set to 0.)