def to_name(self) -> str:
        """
        Convert to ANSI color name
        :return: ANSI color name
        """
        return {
            self.BLACK: 'black',
            self.RED: 'red',
            self.GREEN: 'green',
            self.YELLOW: 'yellow',
            self.BLUE: 'blue',
            self.MAGENTA: 'magenta',
            self.CYAN: 'cyan',
            self.WHITE: 'white'
        }[self.color]
Convert to ANSI color name
        :return: ANSI color name