Following your track of thought, there are no continuous variables, because every value can only be measured up to a certain accuracy (8bit or 16bit color channels in your case) which results in a finite set of possible values.
I would, however, take a different viewpoint: how probable is it that the same value is measured twice? If it is so low that in practice only few values occur more than once, a description by means of a density or, as its poorer approximation, a histogram is more appropriate. That is why image matching based on colors uses histogram cells representing several pixel values in RGB space (or better: HSV space, because it better corresponds to perception).
Concerning color spaces, there is a more important caveat: the H value in HSV space is circular, which requires application of the methods of circular statistics. See e.g.
Jammalamadaka, SenGupta: "Topics in Circular Statstics." World Scientific, 2001