Skip to content

RadiFr3Y/color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preview



About this package

Using this package you can color the text of your console environment in Golang language

How to Install

// open the project you want
go mod init theFr3Y
go get -u github.com/theFr3Y/color

How to Use

package main

import (
  "fmt"
  "github.com/theFr3Y/color"
)

func main() {
  fmt.Println(color.LightYellow + "Hello world")
}

All of colors:

  • Black
  • LightBlack
  • UlBlack
  • BgBlack
  • BgLightBlack
  • White
  • LightWhite
  • UlWhite
  • BgWhite
  • BgLightWhite
  • Red
  • LightRed
  • UlRed
  • BgRed
  • BgLightRed
  • Green
  • LightGreen
  • UlGreen
  • BgGreen
  • BgLightGreen
  • Gray
  • LightGray
  • BgGray
  • BgLightGray
  • Yellow
  • LightYellow
  • UlYellow
  • BgYellow
  • BgLightYellow
  • Blue
  • LightBlue
  • UlBlue
  • BgBlue
  • BgLightBlue
  • Purple
  • LightPurple
  • UlPurple
  • BgPurple
  • BgLightPurple
  • Cyan
  • LightCyan
  • UlCyan
  • BgCyan
  • BgLightCyan
  • Reset

Releases

No releases published

Packages

No packages published

Languages