@staticmethod
    def colors():

        if not hasattr(Term, "_colors"):
            Term._colors = {}
            term = Terminal()
            if term.color:
                Term._colors["text"] = term.normal
                if term.number_of_colors >= 256:
                    Term._colors["name"] = term.color(35)
                    Term._colors["url"] = term.color(45)
                    Term._colors["hashtag"] = term.color(227)
                else:
                    Term._colors["name"] = term.color(4)
                    Term._colors["url"] = term.color(6)
                    Term._colors["hashtag"] = term.color(3)
        return Term._colors
Returns the colors in use for this terminal.
dataset/ETHPy150Open a-tal/pyweet/pyweet/colors.py/Term.colors