Remember, depending on how the color information is packed, it may be a 32bit word being addressed with the 8 individual bytes in the wrong order, again an Endian issue.
With your other graphic, it's like 128bit chunks where every 8 bits are reversed inside, IE: addressed left to right instead or right to left. Again, a larger width of the same Endina issue. You fixed the 8 byte color palette order, but, reversed all the bytes in a chunk or 128 bits. By the way, 128 bits is the 'Burst Size' used in a 16 bit DDR3 ram chip, as on my other thread with my DDR3 ram controller, I had this Endian addressing problem way back in the beginning of development.