Documentation ¶ Index ¶ func GenerateBackground(text string) (string, string) type OkLCH func BackgroundFrom(text string) *OkLCH func ForegroundFrom(color *OkLCH) *OkLCH func (c *OkLCH) RGBA() *color.RGBA Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenerateBackground ¶ func GenerateBackground(text string) (string, string) Types ¶ type OkLCH ¶ type OkLCH struct { L float64 C float64 H float64 A uint8 } func BackgroundFrom ¶ func BackgroundFrom(text string) *OkLCH func ForegroundFrom ¶ func ForegroundFrom(color *OkLCH) *OkLCH func (*OkLCH) RGBA ¶ func (c *OkLCH) RGBA() *color.RGBA Source Files ¶ View all Source files background.goforeground.gogenerate.gooklch.gorgba.go Click to show internal directories. Click to hide internal directories.