Skip to content
forked from RGBCube/color.v

An easier way to print colored text to the terminal.

License

Notifications You must be signed in to change notification settings

Pringlers/v-color

 
 

Repository files navigation

v-color

An easier way to print colored text to the terminal.

Example

Basic

import color

color.red.cprintln('Hello World')
color.cyan.cprintln_bg('Hello World')
color.bold.cprintln('Hello World')

Advanced

import color

brush := color.new_brush(
    fg: color.rgb(0, 0, 0)!
    bg: color.hex(0xffffff)!
    style: [color.bold, color.underline, color.italic]
)!

brush.cprintln('Hello World')

About

An easier way to print colored text to the terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.1%
  • V 0.9%