def _GenerateColorSequences() -> List[str]:
  """Generates ANSI codes for 256 colors.
  Works on Linux and macOS, Windows (WSL) to be confirmed.

  Returns:
    List[str]: A list of ANSI codes.
  """
  sequences = []
  for i in range(0, 16):
    for j in range(0, 16):
      code = str(i * 16 + j)
      seq = '\u001b[38;5;' + code + 'm'
      sequences.append(seq)
  return sequences
Generates ANSI codes for 256 colors.
Works on Linux and macOS, Windows (WSL) to be confirmed.

Returns:
List[str]: A list of ANSI codes.
libcloudforensics/logging_utils.py