local i,E,J local e,m,O=C0.R,C0.G,C0.B e=e<.040448236277108 and e/12.92 or.87941546140213*(e+.055)^2.4 m=m<.040448236277108 and m/12.92 or.87941546140213*(m+.055)^2.4 O=O<.040448236277108 and O/12.92 or.87941546140213*(O+.055)^2.4 local K=(.2125862307856*e+.71517030370341*m)+.072200498643336*O local s=(3.6590806972266*e+11.442689580057*m)+4.1149915024265*O local d=K>.0088564516790356 and 116*K^.33333333333333-16 or 903.2962962963*K if s>1e-15 then local N=(.92570639729519*e-.83337363237799*m)-.092098206660859*O i,E,J=d,(d*N)/s,d*((9*K)/s-.46832)else i,E,J=d,-0.19783*d,-0.46832*d end local N,f,v local o,w,Z=C1.R,C1.G,C1.B o=o<.040448236277108 and o/12.92 or.87941546140213*(o+.055)^2.4 w=w<.040448236277108 and w/12.92 or.87941546140213*(w+.055)^2.4 Z=Z<.040448236277108 and Z/12.92 or.87941546140213*(Z+.055)^2.4 local L=(.2125862307856*o+.71517030370341*w)+.072200498643336*Z local k=(3.6590806972266*o+11.442689580057*w)+4.1149915024265*Z local W=L>.0088564516790356 and 116*L^.33333333333333-16 or 903.2962962963*L if k>1e-15 then local i=(.92570639729519*o-.83337363237799*w)-.092098206660859*Z N,f,v=W,(W*i)/k,W*((9*L)/k-.46832)else N,f,v=W,-0.19783*W,-0.46832*W end

		local L0, U0, V0
		local R0, G0, B0 = C0.R, C0.G, C0.B
		R0 = R0 < 0.0404482362771076 and R0 / 12.92 or 0.87941546140213 * (R0 + 0.055) ^ 2.4
		G0 = G0 < 0.0404482362771076 and G0 / 12.92 or 0.87941546140213 * (G0 + 0.055) ^ 2.4
		B0 = B0 < 0.0404482362771076 and B0 / 12.92 or 0.87941546140213 * (B0 + 0.055) ^ 2.4

		local Y0 = 0.2125862307855956 * R0 + 0.71517030370341085 * G0 + 0.0722004986433362 * B0
		local Z0 = 3.6590806972265883 * R0 + 11.4426895800574232 * G0 + 4.1149915024264843 * B0
		local _L0 = Y0 > 0.008856451679035631 and 116 * Y0 ^ (1 / 3) - 16 or 903.296296296296 * Y0

		if Z0 > 1E-15 then
			local X = 0.9257063972951867 * R0 - 0.8333736323779866 * G0 - 0.09209820666085898 * B0
			L0, U0, V0 = _L0, _L0 * X / Z0, _L0 * (9 * Y0 / Z0 - 0.46832)
		else
			L0, U0, V0 = _L0, -0.19783 * _L0, -0.46832 * _L0
		end

		local L1, U1, V1
		local R1, G1, B1 = C1.R, C1.G, C1.B
		R1 = R1 < 0.0404482362771076 and R1 / 12.92 or 0.87941546140213 * (R1 + 0.055) ^ 2.4
		G1 = G1 < 0.0404482362771076 and G1 / 12.92 or 0.87941546140213 * (G1 + 0.055) ^ 2.4
		B1 = B1 < 0.0404482362771076 and B1 / 12.92 or 0.87941546140213 * (B1 + 0.055) ^ 2.4

		local Y1 = 0.2125862307855956 * R1 + 0.71517030370341085 * G1 + 0.0722004986433362 * B1
		local Z1 = 3.6590806972265883 * R1 + 11.4426895800574232 * G1 + 4.1149915024264843 * B1
		local _L1 = Y1 > 0.008856451679035631 and 116 * Y1 ^ (1 / 3) - 16 or 903.296296296296 * Y1

		if Z1 > 1E-15 then
			local X = 0.9257063972951867 * R1 - 0.8333736323779866 * G1 - 0.09209820666085898 * B1
			L1, U1, V1 = _L1, _L1 * X / Z1, _L1 * (9 * Y1 / Z1 - 0.46832)
		else
			L1, U1, V1 = _L1, -0.19783 * _L1, -0.46832 * _L1
		end
