It gets tiring having to pull out a calculator everytime you need to edit the color palette for your game, so I thought of a way of making palette editing easier.
Store each color as 3 bytes. One for each primary. While it's loading the palette into cram, have the CPU shift the RGB triplets into 0bbbbbgggggrrrrr format.
Store each color as 3 bytes. One for each primary. While it's loading the palette into cram, have the CPU shift the RGB triplets into 0bbbbbgggggrrrrr format.