class_docstr: Format tokens with ANSI color sequences, for output in a true-color
  terminal or console.  Like in `TerminalFormatter` color sequences
  are terminated at newlines, so that paging the output works correctly.
  
  .. versionadded:: 2.1
  
  Options accepted:
  
  `style`
      The style to use, can be a string or a Style subclass (default:
      ``'default'``).
class_docstr_tok: ["Format","tokens","with","ANSI","color","sequences",",","for","output","in","a","true-color","terminal","or","console",".","Like","in","`","TerminalFormatter","`","color","sequences","are","terminated","at","newlines",",","so","that","paging","the","output","works","correctly",".","..","versionadded",":",":","2.1","Options","accepted",":","`","style","`","The","style","to","use",",","can","be","a","string","or","a","Style","subclass","(","default",":","``","'default","'","``",")","."]
code: def _color_tuple(self, color):
      try:
          rgb = int(str(color), 16)
      except ValueError:
          return None
      r = (rgb >> 16) & 0xFF
      g = (rgb >> 8) & 0xFF
      b = rgb & 0xFF
      return (r, g, b)
  
imports: import sys
  from pygments.formatter import Formatter
  from pygments.console import codes
  from pygments.style import ansicolors
label_desc: Use image node_id 2 for calling the TerminalTrueColorFormatter obj's underlying member method code with example usage: obj._color_tuple(color) and returns: r,  g,  b, None