Refactoring the whole technique that converts rgb to hex down to one regular expression and adds it to the existing 'regexps' dictionary.
Small cleanup in the css line_breaker() function, also provides a better docstring.