rem: },rgbToHSV:function(red,_510,blue,_511){ 
add: },rgbToHSV:function(red,_528,blue,_529){ 
context: },rgbToHSV:function(red,_510,blue,_511){if(arguments.length==1){var rgb=red;red=rgb.r;_510=rgb.g;blue=rgb.b;_511=rgb.a;}var max=Math.max(Math.max(red,_510),blue);var min=Math.min(Math.min(red,_510),blue);var hue;var _514;var _515=max;if(min==max){hue=0;_514=0;}else{var _516=(max-min);_514=_516/max;if(red==max){hue=(_510-blue)/_516;}else{if(_510==max){hue=2+((blue-red)/_516);}else{hue=4+((red-_510)/_516);}}hue/=6;if(hue<0){hue+=1;}if(hue>1){hue-=1;}}return {h:hue,s:_514,v:_515,a:_511};},rgbToHSL:function(red,_517,blue,_518){
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/8b42fb2ed090da7f1e336726dcb69d2649658e7c/MochiKit.js/clean/trunk/lib/MochiKit.js