Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // White color White = Color{R: 1, G: 1, B: 1} // Black color Black = Color{R: 0, G: 0, B: 0} // Red color Red = Color{R: 1, G: 0, B: 0} // Green color Green = Color{R: 0, G: 1, B: 0} // Blue color Blue = Color{R: 0, G: 0, B: 1} // Magenta color Magenta = Color{R: 1, G: 0, B: 1} // Yellow color Yellow = Color{R: 1, G: 1, B: 0} // Cyan color Cyan = Color{R: 0, G: 1, B: 1} )
Functions ¶
This section is empty.
Types ¶
type Color ¶
Color defines an RGB color with floating point precision
func ColorFromMap ¶
ColorFromMap returns the color defined in the map
Click to show internal directories.
Click to hide internal directories.