def argb(self, *args):
if len(args) == <NUM_LIT:1> and type(args[<NUM_LIT:0>]) is str:<EOL><INDENT>match = re.match(r'<STR_LIT>', args[<NUM_LIT:0>])<EOL>if match:<EOL><INDENT>rgb = re.sub(r'<STR_LIT>', '<STR_LIT>', match.group(<NUM_LIT:1>)).split('<STR_LIT:U+002C>')<EOL><DEDENT>else:<EOL><INDENT>rgb = list(self._hextorgb(args[<NUM_LIT:0>]))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>rgb = list(args)<EOL><DEDENT>if len(rgb) == <NUM_LIT:3>:<EOL><INDENT>return self._rgbatohex([<NUM_LIT:255>] + list(map(int, rgb)))<EOL><DEDENT>elif len(rgb) == <NUM_LIT:4>:<EOL><INDENT>rgb = [rgb.pop()] + rgb  <EOL>try:<EOL><INDENT>fval = float(list(rgb)[<NUM_LIT:0>])<EOL>if fval > <NUM_LIT:1>:<EOL><INDENT>rgb = [<NUM_LIT:255>] + rgb[<NUM_LIT:1>:]  <EOL><DEDENT>elif <NUM_LIT:1> >= fval >= <NUM_LIT:0>:<EOL><INDENT>rgb = [<EOL>fval * <NUM_LIT><EOL>] + rgb[<NUM_LIT:1>:]  <EOL><DEDENT>else:<EOL><INDENT>rgb = [<NUM_LIT:0>] + rgb[<NUM_LIT:1>:]  <EOL><DEDENT>return self._rgbatohex(list(map(int, rgb)))<EOL><DEDENT>except ValueError:<EOL><INDENT>if all((a for a in rgb<EOL>if a[-<NUM_LIT:1>] == '<STR_LIT:%>' and <NUM_LIT:100> >= int(a[:-<NUM_LIT:1>]) >= <NUM_LIT:0>)):<EOL><INDENT>return self._rgbatohex(<EOL>[int(a[:-<NUM_LIT:1>]) * <NUM_LIT:255> / <NUM_LIT> for a in rgb])<EOL><DEDENT><DEDENT><DEDENT>raise ValueError('<STR_LIT>')<EOL>
Translate argb(...) to color string

        Creates a hex representation of a color in #AARRGGBB format (NOT
        #RRGGBBAA!). This format is used in Internet Explorer, and .NET
        and Android development.

        raises:
            ValueError
        returns:
            str