code: function getValue(value) {
  		//hex
  		if (extractHexRegEx.test(value))
  		{
  			return value.match(extractHexRegEx)[0];
  		} 
  		//rgb \ rgba
  		var rgba = value.match(rgbaExtractRegEx);
  		if (rgba) {
              var red = parseInt(rgba[2], 10);
              var green = parseInt(rgba[3], 10);
              var blue = parseInt(rgba[4], 10);
              var rgb = blue | (green << 8) | (red << 16) | (1 << 24);
  			return "#" + rgb.toString(16).substring(1,8).toUpperCase();
  		}
  		return value;
  	}
docs: /*
  Checks the target value for an embeded hex, rgb, or rgba string
  if found, returns the given value in hex otherwise it
  returns the provided value.