Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorNames = map[string]color.Color{ "transparent": color.Transparent, "opaque": color.Opaque, "black": color.Black, "silver": color.RGBA{192, 192, 192, 255}, "gray": color.RGBA{128, 128, 128, 255}, "grey": color.RGBA{128, 128, 128, 255}, "white": color.White, "maroon": color.RGBA{128, 0, 0, 255}, "red": color.RGBA{255, 0, 0, 255}, "purple": color.RGBA{128, 0, 128, 255}, "fuchsia": color.RGBA{255, 0, 255, 255}, "green": color.RGBA{0, 128, 0, 255}, "lime": color.RGBA{0, 255, 0, 255}, "olive": color.RGBA{128, 128, 0, 255}, "yellow": color.RGBA{255, 255, 0, 255}, "navy": color.RGBA{0, 0, 128, 255}, "blue": color.RGBA{0, 0, 255, 255}, "teal": color.RGBA{0, 128, 128, 255}, "aqua": color.RGBA{0, 255, 255, 255}, }
CSS color names from "Basic color keywords" https://www.w3.org/TR/css-color-3/#html4 plus some extra
Functions ¶
func ColorfulToHex ¶
func StringRGBA ¶
func ToColorful ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.