rem: var br = Math.round(this[2] / 100 * 255); if (this[1] == 0){ return [br, br, br]; } else { var hue = this[0] % 360; var f = hue % 60; var p = Math.round((this[2] * (100 - this[1])) / 10000 * 255); var q = Math.round((this[2] * (6000 - this[1] * f)) / 600000 * 255); var t = Math.round((this[2] * (6000 - this[1] * (60 - f))) / 600000 * 255); switch (Math.floor(hue / 60)){ case 0: return [br, t, p]; case 1: return [q, br, p]; case 2: return [p, br, t]; case 3: return [p, q, br]; case 4: return [t, p, br]; case 5: return [br, p, q]; } } return false; 
add: var hsb = this.match(/\d{1,3}/g); return (hsb) ? hsb.hsbToRgb() : null; 
context: 	hsbToRgb: function(){		var br = Math.round(this[2] / 100 * 255);		if (this[1] == 0){			return [br, br, br];		} else {			var hue = this[0] % 360;			var f = hue % 60;			var p = Math.round((this[2] * (100 - this[1])) / 10000 * 255);			var q = Math.round((this[2] * (6000 - this[1] * f)) / 600000 * 255);			var t = Math.round((this[2] * (6000 - this[1] * (60 - f))) / 600000 * 255);			switch (Math.floor(hue / 60)){				case 0: return [br, t, p];				case 1: return [q, br, p];				case 2: return [p, br, t];				case 3: return [p, q, br];				case 4: return [t, p, br];				case 5: return [br, p, q];			}		}		return false;	}
meta: 8516	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8516/0f0912f3dee724dae2c663f656cdd52ebd7b0f60/Color.js/buggy/Source/Utilities/Color.js