Sorry, I forgot to ask for palette in rec and play mode. I guess that you posted palette for rec mode.
Please test this patch. Please check CHDK colors, using "CHDK Color test" from CHDK Menu in REC an PLAY mode.
Here are those tests as photos of the camera. In rec mode I had the camera in macro mode in front of a screen showing
this. I took a picture and that was up in play mode. That allows us to see semi-transparent colors. On camera some colors looked odd. In Rec mode light red, blue, gray show some kind of a pattern.