Hi Bruce!
I do have also bad background color results with my Sky-Flats shot after sundown.
They are to blue. And as a result despite all promises i get calibrated images where the blue channel
is much to dark (with a blue data loss) in the calibrated and stacked images. I built a workaround for that.
So, to get single flats without a blue color cast i simply move the pixels of a flat with 0.5 pixel in x direction and y direction.
This averages the blue, green and red RAW pixels. It gets me a flat with 1 histogram bump and not with 3 histogram bumps.
And, i get a nice flat without blue color cast but the dust speck still are there precisely.
The procedure i do is the following in detail:
Step 1 use RAW Flat Image Process „ConvertToRGBcolor“ (Produces a Pseudo(!) color image)
Step 2 use result of Step1 Process “Channel Match” 0.5x 0.5y (Shifts the pixels 0.5 pixel in x and y)
Step 3 use result of Step2 Process “ConvertToGrayscale” (Returns the (Pseudo)color image back to the gray OSC RAW Flat image)
Using these flats gets me much better color results after calibration and stacking. The background has very similar values in all colors.
Here the Link to the XPSM file with the above steps for simple drag and drop in PI.
http://www.werbeagentur.org/oldwexi/Daten/Corr_Flat_Field.xpsmGerald