rem: type = type || ($type(color) == 'array' ? 'rgb' : 'hex'); var rgb, hsb; 
add: if (arguments.length >= 3){ type = "rgb"; color = Array.slice(arguments, 0, 3); } else if ($type(color) == 'string'){ if (color.match(/rgb/)) color = color.rgbToHex().hexToRgb(true); else if (color.match(/hsb/)) color = color.hsbToRgb(); else color = color.hexToRgb(true); } type = type || 'rgb'; 
context:   initialize: function(color, type){		type = type || ($type(color) == 'array' ? 'rgb' : 'hex');		var rgb, hsb;		switch (type){			case 'rgb':				rgb = color;				hsb = rgb.rgbToHsb();				break;			case 'hsb':				rgb = color.hsbToRgb();				hsb = color;				break;			default:				rgb = color.hexToRgb(true);				hsb = rgb.rgbToHsb();		}		rgb.hsb = hsb;		rgb.hex = rgb.rgbToHex();		return $extend(rgb, this);	}
meta: 9980	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9980/0f0912f3dee724dae2c663f656cdd52ebd7b0f60/Color.js/buggy/Source/Utilities/Color.js