package main
import (
"fmt"
col "image/color"
"github.com/wayneashleyberry/truecolor/pkg/color"
)
func main() {
color.Color(186, 218, 85).Println("Hello, World!")
color.Black().Background(186, 218, 85).Println("Hello, World!")
color.White().Underline().Print("Hello, World!\n")
color.White().Dim().Println("Hello, World!")
color.White().Italic().Println("Hello, World!")
color.White().Bold().Println("Hello, World!")
color.Color(255, 165, 00).Printf("Hello, %s!\n", "World")
fmt.Printf("Hello, %s\n", color.Color(255, 0, 0).Sprint("World", "!"))
color.RGBA(col.RGBA{100, 200, 10, 0}).Println("Hello, World!")
}
ajwerner / truecolor Goto Github PK
View Code? Open in Web Editor NEWThis project forked from wayneashleyberry/truecolor
Go package for printing truecolor text in your terminal
License: MIT License