Anonymous user
Module:Color contrast: Difference between revisions
no edit summary
(←Created page with '-- -- This module implements -- {{Color contrast ration}} -- {{ColorToLum}} -- {{RGBColorToLum}} -- local p = {} local function sRGB ( v ) if (v <= 0.0392...') |
No edit summary |
||
Line 118:
function p.ratio(frame)
local v1 =
local v2 =
return (v2 + 0.05)/(v1 + 0.05)
end
|