"Module:Color contrast": अवतरणों में अंतर

Content deleted Content added
html #
Undid revision 757931345 by Frietjes (talk)
पंक्ति 98:
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
c = mw.ustring.match(c, '^[%s]*#([a-f0-9]*)[%s]*$')
 
-- split into rgb