text: function cie_to_rgb(t,o,a){void 0===a&&(a=254);var i=1-t-o,r=(a/254).toFixed(2),N=r/o*t,h=r/o*i,n=1.656492*N-.354851*r-.255038*h,M=.707196*-N+1.655397*r+.036152*h,e=.051713*N-.121364*r+1.01153*h;return n>e&&n>M&&n>1?(M/=n,e/=n,n=1):M>e&&M>n&&M>1?(n/=M,e/=M,M=1):e>n&&e>M&&e>1&&(n/=e,M/=e,e=1),n=n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055,M=M<=.0031308?12.92*M:1.055*Math.pow(M,1/2.4)-.055,e=e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,n=Math.round(255*n),M=Math.round(255*M),e=Math.round(255*e),isNaN(n)&&(n=0),isNaN(M)&&(M=0),isNaN(e)&&(e=0),[n,M,e]}function rgb_to_cie(t,o,a){var i=.664511*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.154324*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)+.162028*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92),r=.283881*t+.668433*o+.047685*a,N=88e-6*t+.07231*o+.986039*a,h=(i/(i+r+N)).toFixed(4),n=(r/(i+r+N)).toFixed(4);return isNaN(h)&&(h=0),isNaN(n)&&(n=0),[h,n]}