Most people in art or graphics have heard that a wide range of colors can be created by the primary colors red, blue, and yellow, if working with paints. Those colors then define a color space. We can specify the amount of red color as the X axis, the amount of blue as the Y axis, and the amount of yellow as the Z axis, giving us a three-dimensional space, wherein every possible color has a unique position.
However, this is not the only color space. For instance, when colors are displayed on a computer monitor, they are usually defined in the RGB (red, green and blue) color space. This is another way of making the same colors, and red, green and blue can be considered as the X, Y and Z axes. Another way of making the same colors is to use their hue (X axis), their saturation (Y axis) and their brightness (Z axis). This is called the HSV color space. There are many more color spaces. Many can be represented as three-dimensional (X,Y,Z) values in this way, but some have more, or fewer dimensions, and some cannot be represented in this way at all.
couple of useful links for you:
andrew