Color Constancy by Learning to Predict Chromaticity from Luminance