The raw file of a Bayer array camera contains only one color per pixel, and the other two are interpolated from adjacent pixels in the demosaicing process.
Color information is present in the raw file and does not magically appear during demosaicing.