code: def _build_color_table():
          
          FG = FOREGROUND_COLOR
          BG = BACKROUND_COLOR
  
          return [
              (0x00, 0x00, 0x00, FG.BLACK, BG.BLACK),
              (0x00, 0x00, 0xaa, FG.BLUE, BG.BLUE),
              (0x00, 0xaa, 0x00, FG.GREEN, BG.GREEN),
              (0x00, 0xaa, 0xaa, FG.CYAN, BG.CYAN),
              (0xaa, 0x00, 0x00, FG.RED, BG.RED),
              (0xaa, 0x00, 0xaa, FG.MAGENTA, BG.MAGENTA),
              (0xaa, 0xaa, 0x00, FG.YELLOW, BG.YELLOW),
              (0x88, 0x88, 0x88, FG.GRAY, BG.GRAY),
  
              (0x44, 0x44, 0xff, FG.BLUE | FG.INTENSITY, BG.BLUE | BG.INTENSITY),
              (0x44, 0xff, 0x44, FG.GREEN | FG.INTENSITY, BG.GREEN | BG.INTENSITY),
              (0x44, 0xff, 0xff, FG.CYAN | FG.INTENSITY, BG.CYAN | BG.INTENSITY),
              (0xff, 0x44, 0x44, FG.RED | FG.INTENSITY, BG.RED | BG.INTENSITY),
              (0xff, 0x44, 0xff, FG.MAGENTA | FG.INTENSITY, BG.MAGENTA | BG.INTENSITY),
              (0xff, 0xff, 0x44, FG.YELLOW | FG.INTENSITY, BG.YELLOW | BG.INTENSITY),
  
              (0x44, 0x44, 0x44, FG.BLACK | FG.INTENSITY, BG.BLACK | BG.INTENSITY),
              (0xff, 0xff, 0xff, FG.GRAY | FG.INTENSITY, BG.GRAY | BG.INTENSITY),
          ]
docs: Build an RGB-to-256 color conversion table