This depends on the camera and the sensor's bayer filter [0]. For example the quad bayer uses a 4x4 like:
G G R R
G G R R
B B G G
B B G G
[0]: https://en.wikipedia.org/wiki/Bayer_filter