https://bugzilla.wikimedia.org/show_bug.cgi?id=61008

--- Comment #5 from Bartosz DziewoƄski <matma....@gmail.com> ---
It would seem that it's possible to "normalize" color definitions with LESS
functions: you can use something like `rgb(red(@c), green(@c), blue(@c))`
(assuming the color is in the @c variable) to convert it to the canonical
#rrggbb form. There's a bunch of related functions too, see
http://lesscss.org/functions/#color-functions for details. (I've heard that the
PHP version we're using is missing some, but the ones I tested worked.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to