Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color int
func GetColorFromHSL ¶
func GetColorFromHSL(hsl HSLComponents) Color
func GetColorFromHex ¶
Returns a color from Color when passed a hex color code, defaults to Unknown
func GetColorFromRGB ¶
func GetColorFromRGB(rgb RGBComponents) Color
type HSLComponents ¶
type HSLComponents struct {
Hue, Saturation, Lightness float64
}
type RGBComponents ¶
type RGBComponents struct {
Red, Green, Blue uint8
}
Click to show internal directories.
Click to hide internal directories.