2-6
A 3-channel color image is a mapping from a 2-dimensional space of locations to a 3-dimensional space of color intensity values.
Note that these two are equivalent forms, with the right-hand-side expressed a little differently.