Module:Color contrast: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
return L |
return L |
||
end |
end |
||
⚫ | |||
⚫ | |||
-- convert from hsl |
-- convert from hsl |
||
Line 76: | Line 74: | ||
return hsl2rgb(tonumber(h), tonumber(s)/100, tonumber(l)/100) |
return hsl2rgb(tonumber(h), tonumber(s)/100, tonumber(l)/100) |
||
end |
end |
||
⚫ | |||
⚫ | |||
-- split into rgb |
-- split into rgb |