Anonymous user
Module:Color contrast: Difference between revisions
no edit summary
(add support for hsl) |
No edit summary |
||
Line 56:
end
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- lowercase
Line 67:
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s
-- convert from hsl
|