Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mkke/go-color

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of fatih/color with enhancements for 256-color palette

See github.com/fatih/color for more information.

Examples

256 color palette

See [https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit] for color codes.

col := color.New256(color.Fg256(208), color.Bg256(52)).Add(color.Underline)
col.Println("Prints bright orange underlined text on dark red background.")

Credits

License

The MIT License (MIT) - see LICENSE.md for more details

About

Color package for Go (golang)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%