vcolor is a color printing library for the V programming language, which can make your console output more colorful.
Install via V language package manager:
v install xiusin.vcolor
import xiusin.vcolor
fn main() {
println(vcolor.red('This is red text'))
println(vcolor.green('This is green text'))
println(vcolor.blue('This is blue text'))
}
- red
- green
- blue
- yellow
- magenta
- cyan
- white
- black
For more information, please refer to the project documentation.