color

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background added in v0.1.0

func Background(o *options)

func Black added in v0.1.0

func Black(opts ...Option) func(a ...interface{}) string

func Bold added in v0.1.0

func Bold(o *options)

func Cyan

func Cyan(opts ...Option) func(a ...interface{}) string

func Green

func Green(opts ...Option) func(a ...interface{}) string

func HSL256 added in v0.4.0

func HSL256(h, s, l float64, opts ...Option) func(a ...interface{}) string

func Magenta added in v0.1.0

func Magenta(opts ...Option) func(a ...interface{}) string

func Red

func Red(opts ...Option) func(a ...interface{}) string

func SprintFunc added in v0.4.0

func SprintFunc(c color.Style) func(args ...interface{}) string

func White added in v0.1.0

func White(opts ...Option) func(a ...interface{}) string

func Yellow

func Yellow(opts ...Option) func(a ...interface{}) string

Types

type Color

type Color color.Color

type Option added in v0.1.0

type Option func(*options)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL