codigos ANSI Para cores no terminal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Messias Eric 3746b5ce25 Adicionar 'cores.py' 2 weeks ago
LICENSE Initial commit 2 weeks ago
README.md Atualizar 'README.md' 2 weeks ago
cores.py Adicionar 'cores.py' 2 weeks ago

README.md

cores com Python

codigos ANSI Para cores no terminal

  • vermelho = ‘\033[31m’
  • verde = ‘\033[32m’
  • azul = ‘\033[34m’
  • ciano = ‘\033[36m’
  • magenta = ‘\033[35m’
  • amarelo = ‘\033[33m’
  • preto = ‘\033[30m’
  • branco = ‘\033[37m’
  • f_preto = ‘\033[40m’
  • f_vermelho = ‘\033[41m’
  • f_verde = ‘\033[42m’
  • f_amarelo = ‘\033[43m’
  • f_azul = ‘\033[44m’
  • f_magenta = ‘\033[45m’
  • f_ciano = ‘\033[46m’
  • f_branco = ‘\033[47m’
  • negrito = ‘\033[1m’
  • reverso = ‘\033[2m’
  • finaliza = ‘\033[0;0m’

Exemplo:

print azul+"Isto é azul"+finaliza
print verde+f_preto+"Isto é verde com fundo preto"+finaliza