rgb_to_ansi

backpy.cli.colors.rgb_to_ansi(r, g, b, foreground=True)
Parameters:
  • r (int)

  • g (int)

  • b (int)

  • foreground (bool)

Return type:

str