class_docstr: Terminal color definition.
class_docstr_tok: ["Terminal","color","definition","."]
code: def __rich_repr__(self) -> Result:
      yield self.name
      yield self.type
      yield "number", self.number, None
      yield "triplet", self.triplet, None
  
imports: import platform
  import re
  from colorsys import rgb_to_hls
  from enum import IntEnum
  from functools import lru_cache
  from typing import TYPE_CHECKING, NamedTuple, Optional, Tuple
  from ._palettes import EIGHT_BIT_PALETTE, STANDARD_PALETTE, WINDOWS_PALETTE
  from .color_triplet import ColorTriplet
  from .repr import Result, rich_repr
  from .terminal_theme import DEFAULT_TERMINAL_THEME
label_desc: Use image node_id 2 for calling the Color obj's underlying member method code with example usage: obj.__rich_repr__() without return types