@staticmethod<EOL><INDENT>def from_html(html_style_colour_str: str):<DEDENT>
html_style_colour_str = html_style_colour_str.lstrip("<STR_LIT:#>")<EOL>components = list(map("<STR_LIT>".join, zip(*[iter(html_style_colour_str)]*<NUM_LIT:2>)))<EOL>return ColourData(*(int(colour, <NUM_LIT:16>) for colour in components))<EOL>
Parser for KDialog output, which outputs a HTML style hex code like #55aa00
@param html_style_colour_str: HTML style hex string encoded colour. (#rrggbb)
@return: ColourData instance
@rtype: ColourData