colors

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Aqua              = 1752220
	Black             = 2303786
	Blue              = 3447003
	DarkAqua          = 1146986
	DarkBlue          = 2123412
	DarkButNotBlack   = 2895667
	DarkGold          = 12745742
	DarkGreen         = 2067276
	DarkGrey          = 9936031
	DarkNavy          = 2899536
	DarkOrange        = 11027200
	DarkPurple        = 7419530
	DarkRed           = 10038562
	DarkVividPink     = 11342935
	DarkerGrey        = 8359053
	Fuschia           = 15418782
	Gold              = 15844367
	Green             = 5763719
	Grey              = 9807270
	LightGrey         = 12370112
	LuminousVividPink = 15277667
	Navy              = 3426654
	NotQuiteBlack     = 2303786
	Orange            = 15105570
	Purple            = 10181046
	Red               = 15548997
	White             = 16777215
	Yellow            = 16705372
)

Integer codes for common colors.

Variables

This section is empty.

Functions

func ToHex

func ToHex(color int) string

ToHex convert a color int into a uppercase hex representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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