ConsoleColors¶
You may confuse this with Colors, Colors are HEX and RGB values of a few colors, but ConsoleColors are ANSI escape codes which contains colors. This module isn’t the most advanced one but on http://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html you can find more colors.
- But yeah, my kirons_py3_module.ConsoleColors module contains:
- Reset (to reset the color)
- Black
- Red
- Green
- Yellow
- Blue
- Magenta
- Cyan
- White
Those colors (not Reset) also are available as Bright.
Example:
ConsoleColors.Black
ConsoleColors.Bright_blue
ConsoleColors.Reset