Code:
int d = 0 ;
for(int i = 0; i<=5; i++)
	for (int j = 0; j<=5; j++)
		for (int k = 0; k<=5; k++){
			colors[d].r=i*51;
			colors[d].g=j*51;
			colors[d].b=k*51;
			d++;
		}
I need to make the same color palette Windows uses to display 8-bits bitmaps... I'm using SDL, so I need to set each color of the palette by myself. I wrote that code based on what someone told me on the Windows programming board, but it doesn't seem to be the same palette Windows uses (the pic I show does not have the same colors than the one I see on MSPaint)