Module:Color contrast: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
typo
(typo)
Line 137:
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio1ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio1ratio2 = (ratio1ratio2 < 1) and 1/ratio1ratio2 or ratio1ratio2
end
return (ratio1 + bias > ratio2) and c2 or c3
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu