@classmethod
    def convert_to_xml(cls, value):
        """
        Keep alpha hex numerals all uppercase just for consistency.
        """
        # expecting 3-tuple of ints in range 0-255
        return value % '%02X%02X%02X'
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/simpletypes.py/ST_HexColor.convert_to_xml/swapped operands of `%`