@staticmethod
def escape_code_from_attrs(display_attrs):
    """
        Build and return an ANSI/ECMA-48 escape code string from passed display attributes.
        """
    return '\x1b[{}m'.format(display_attrs)
