colorizeEcho
colorizeEcho is a package which colorize echo message on Windows command prompt.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install colorizeEcho
choosenim install colorizeEcho
git clone https://github.com/s3pt3mb3r/colorizeEcho
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| colorizeEcho | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/s3pt3mb3r/colorizeEcho |
|---|---|
| Homepage | https://github.com/s3pt3mb3r/colorizeEcho |
| Registry Source | nimble_official |
README
:thought_balloon: colorizeEcho
colorizeEcho is a super fast, and lightweight library that simply colorize echo message on Windows command prompt.
Also note that this is a Nim integration for mitchellh/colorstring.
It makes your debug message more clear and beautiful. Moreover, it gives your debugging life more comfortable and full of happiness. :kissing_heart:
Installation
Run following command on your command prompt and you're good to go
$ nimble install colorizeEcho
:fire: Usage
Let me show you the minimal form of usage first:
import colorizeEcho
initColorizeEcho() # Invoking this before you call cecho is compulsory.
cecho "[magenta] supposed to be magenta color" # Use cecho just as you use echo with a magical phrase [COLOR_NAME].
To change foreground color or background color of output message, put color name surrounded by square bracket at right before the text you'd like to change color.
e.g. for foreground = [red], [cyan]
e.g. for background =[bRed], [bCyan]
To change font weight, put [bold] or [regular] at right before the text
import colorizeEcho
initColorizeEcho()
cecho "[magenta]Every [green]color [cyan]is [default]beautiful."
cecho "[black][bgMagenta]Background [bgGreen]color [bgLightRed]is [bgCyan]changable [bgYellow]too."
cecho "[lightYellow][bold]THICC TEXT [regular]REGULAR TEXT"
result ↓

:balloon: Available colors
| foreground | background | weight |
|---|---|---|
[default] |
[bgDefault] |
[regular] |
[black] |
[bgBlack] |
[bold] |
[red] |
[bgRed] |
|
[green] |
[bgGreen] |
|
[yellow] |
[bgYellow] |
|
[blue] |
[bgBlue] |
|
[magenta] |
[bgMagenta] |
|
[cyan] |
[bgCyan] |
|
[white] |
[bgWhite] |
|
[darkGray] |
[bgDarkGray] |
|
[lightRed] |
[bgLightRed] |
|
[lightGreen] |
[bgLightGreen] |
|
[lightYellow] |
[bgLightYellow] |
|
[lightBlue] |
[bgLightBlue] |
|
[lightMagenta] |
[bgLightMagenta] |
|
[lightCyan] |
[bgLightCyan] |
|
[lightWhite] |
[bgLightWhite] |