code: function _colorToRgbArray(color) {
  	var originalColor, elem,
  		rgb = [],
  		multiple = 1;
  
  	// Deal with complete transparency
  	if (color === 'transparent') {
  		color = 'rgba(0, 0, 0, 0)';
  	} else if (color.match(/^([a-z]+|#[0-9a-f]+)$/gi)) {
  		// Deal with hexadecimal colors and color names
  		elem = document.head;
  		originalColor = elem.style.color;
  		elem.style.color = color;
  		color = $.css(elem, 'color');
  		elem.style.color = originalColor;
  	}
  	// Parse RGB string
  	if (color.match(/^rgb/gi)) {
  		rgb = color.match(/(\d+(\.\d+)?)/gi);
  		// Deal with RGB percentages
  		if (color.match(/%/gi)) {
  			multiple = 2.55;
  		}
  		rgb[0] *= multiple;
  		rgb[1] *= multiple;
  		rgb[2] *= multiple;
  		// Ad alpha channel if given
  		if (rgb[3] !== undefined) {
  			rgb[3] = parseFloat(rgb[3]);
  		} else {
  			rgb[3] = 1;
  		}
  	}
  	return rgb;
  }
docs: Convert a color value to an array of RGB values