(self)
return ''.join(hex(x)[2:] for x in (self.red, self.green, self.blue, self.alpha))
Convert to RGBA hexcode
Convert to RGBA hexcode
Convert to RGBA hexcode
def to_hexcode(self):
        """
        Convert to RGBA hexcode
        """
        return ''.join(hex(x)[2:] for x in (self.red, self.green, self.blue, self.alpha))
def to_hexcode ( self ) : return '' . join ( hex ( x ) [ 2 : ] for x in ( self . red , self . green , self . blue , self . alpha ) )