colors

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IRCToUI

func IRCToUI(irc IRC) ui.Color

Types

type IRC

type IRC int
const (
	IRCWhite IRC = iota
	IRCBlack
	IRCBlue
	IRCGreen
	IRCRed
	IRCBrown
	IRCMagenta
	IRCOrange
	IRCYellow
	IRCLightGreen
	IRCCyan
	IRCLightCyan
	IRCLightBlue
	IRCPink
	IRCGrey
	IRCLightGrey

	IRCGray      = IRCGrey
	IRCLightGray = IRCLightGrey
	IRCDefault   = 99
)

type Xterm

type Xterm = ui.Color
const (
	Black Xterm = iota
	Maroon
	Green
	Olive
	Navy
	Purple
	Teal
	Silver
	Grey
	Red
	Lime
	Yellow
	Blue
	Fuchsia
	Aqua
	White
	Grey0
	NavyBlue
	DarkBlue
	Blue3
	Blue2
	Blue1
	DarkGreen
	DeepSkyBlue7
	DeepSkyBlue6
	DeepSkyBlue5
	DodgerBlue3
	DodgerBlue2
	Green4
	SpringGreen6
	Turquoise4
	DeepSkyBlue4
	DeepSkyBlue3
	DodgerBlue1
	Green3
	SpringGreen5
	DarkCyan
	LightSeaGreen
	DeepSkyBlue2
	DeepSkyBlue1
	Green2
	SpringGreen4
	SpringGreen3
	Cyan3
	DarkTurquoise
	Turquoise2
	Green1
	SpringGreen2
	SpringGreen1
	MediumSpringGreen
	Cyan2
	Cyan1
	DarkRed1
	DeepPink8
	Purple5
	Purple4
	Purple3
	BlueViolet
	Orange5
	Grey37
	MediumPurple6
	SlateBlue4
	SlateBlue3
	RoyalBlue1
	Chartreuse6
	DarkSeaGreen9
	PaleTurquoise4
	SteelBlue
	SteelBlue3
	CornflowerBlue
	Chartreuse4
	DarkSeaGreen8
	CadetBlue2
	CadetBlue
	SkyBlue3
	SteelBlue2
	Chartreuse3
	PaleGreen4
	SeaGreen4
	Aquamarine3
	MediumTurquoise
	SteelBlue1
	Chartreuse2
	SeaGreen3
	SeaGreen2
	SeaGreen1
	Aquamarine2
	DarkSlateGray2
	DarkRed
	DeepPink7
	DarkMagenta1
	DarkMagenta
	DarkViolet
	Purple2
	Orange4
	LightPink4
	Plum4
	MediumPurple5
	MediumPurple4
	SlateBlue1
	Yellow6
	Wheat4
	Grey53
	LightSlateGrey
	MediumPurple
	LightSlateBlue
	Yellow5
	DarkOliveGreen6
	DarkSeaGreen
	LightSkyBlue4
	LightSkyBlue3
	SkyBlue2
	Chartreuse5
	DarkOliveGreen5
	PaleGreen3
	DarkSeaGreen7
	DarkSlateGray3
	SkyBlue1
	Chartreuse1
	LightGreen1
	LightGreen
	PaleGreen2
	Aquamarine1
	DarkSlateGray1
	Red4
	DeepPink6
	MediumVioletRed
	Magenta6
	DarkViolet1
	Purple1
	DarkOrange4
	IndianRed3
	HotPink5
	MediumOrchid3
	MediumOrchid
	MediumPurple3
	DarkGoldenrod
	LightSalmon4
	RosyBrown
	Grey63
	MediumPurple2
	MediumPurple1
	Gold4
	DarkKhaki
	NavajoWhite3
	Grey69
	LightSteelBlue3
	LightSteelBlue
	Yellow4
	DarkOliveGreen4
	DarkSeaGreen6
	DarkSeaGreen5
	LightCyan3
	LightSkyBlue1
	GreenYellow
	DarkOliveGreen3
	PaleGreen1
	DarkSeaGreen4
	DarkSeaGreen3
	PaleTurquoise1
	Red3
	DeepPink5
	DeepPink4
	Magenta5
	Magenta4
	Magenta3
	DarkOrange3
	IndianRed
	HotPink4
	HotPink3
	Orchid
	MediumOrchid2
	Orange3
	LightSalmon3
	LightPink3
	Pink3
	Plum3
	Violet
	Gold3
	LightGoldenrod5
	Tan
	MistyRose3
	Thistle3
	Plum2
	Yellow3
	Khaki3
	LightGoldenrod4
	LightYellow3
	Grey84
	LightSteelBlue1
	Yellow2
	DarkOliveGreen2
	DarkOliveGreen1
	DarkSeaGreen1
	Honeydew2
	LightCyan1
	Red1
	DeepPink3
	DeepPink2
	DeepPink1
	Magenta2
	Magenta1
	OrangeRed1
	IndianRed2
	IndianRed1
	HotPink2
	HotPink
	MediumOrchid1
	DarkOrange
	Salmon1
	LightCoral
	PaleVioletRed1
	Orchid2
	Orchid1
	Orange1
	SandyBrown
	LightSalmon1
	LightPink1
	Pink1
	Plum1
	Gold1
	LightGoldenrod3
	LightGoldenrod2
	NavajoWhite1
	MistyRose1
	Thistle1
	Yellow1
	LightGoldenrod1
	Khaki1
	Wheat1
	Cornsilk1
	Grey100
	Grey3
	Grey7
	Grey11
	Grey15
	Grey19
	Grey23
	Grey27
	Grey30
	Grey35
	Grey39
	Grey42
	Grey46
	Grey50
	Grey54
	Grey58
	Grey62
	Grey66
	Grey70
	Grey74
	Grey78
	Grey82
	Grey85
	Grey89
	Grey93
)

Adapted from https://jonasjacek.github.io/colors/

const Clear Xterm = -1

Jump to

Keyboard shortcuts

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