Site Tools


linux:ansi-escape-codes

ansi escape codes

copied from https://github.com/75lb/ansi-escape-sequences/blob/master/README.md

Name Type Default
reset string\u001b[0m
bold string\u001b[1m
italic string\u001b[3m
underline string\u001b[4m
fontDefault string\u001b[10m
font2 string\u001b[11m
font3 string\u001b[12m
font4 string\u001b[13m
font5 string\u001b[14m
font6 string\u001b[15m
imageNegative string\u001b[7m
imagePositive string\u001b[27m
black string\u001b[30m
red string\u001b[31m
green string\u001b[32m
yellow string\u001b[33m
blue string\u001b[34m
magenta string\u001b[35m
cyan string\u001b[36m
white string\u001b[37m
grey string\u001b[90m
gray string\u001b[90m
brightRed string\u001b[91m
brightGreen string\u001b[92m
brightYellow string\u001b[93m
brightBlue string\u001b[94m
brightMagenta string\u001b[95m
brightCyan string\u001b[96m
brightWhite string\u001b[97m
bg-black string\u001b[40m
bg-red string\u001b[41m
bg-green string\u001b[42m
bg-yellow string\u001b[43m
bg-blue string\u001b[44m
bg-magenta string\u001b[45m
bg-cyan string\u001b[46m
bg-white string\u001b[47m
bg-grey string\u001b[100m
bg-gray string\u001b[100m
bg-brightRed string\u001b[101m
bg-brightGreen string\u001b[102m
bg-brightYellow string\u001b[103m
bg-brightBlue string\u001b[104m
bg-brightMagentastring\u001b[105m
bg-brightCyan string\u001b[106m
bg-brightWhite string\u001b[107m
linux/ansi-escape-codes.txt · Last modified: 2021-06-12 by dcai