code: private void calculateColor(int coord) {
  	    coord = coord - mBarPointerHaloRadius;
  	    if (coord < 0) {
  	    	coord = 0;
  	    } else if (coord > mBarLength) {
  	    	coord = mBarLength;
  	    }
  	    mColor = Color.HSVToColor(new float[] { mHSVColor[0],
  		    				    mHSVColor[1],
  		    				    (float) (1 - (mPosToSatFactor * coord)) });
      }
docs: Calculate the color selected by the pointer on the bar.
  
  @param coord Coordinate of the pointer.