Capturing the color of the sky

Have an RGB led flash red, green and blue light on an object. Have the LDR read how much light is reflected for each colour. Calibrate.