Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct {
// Red is the amount of red
Red int
// Green is the amount of red
Green int
// Blue is the amount of red
Blue int
}
Color represents a color in the RGB (Red, Green, Blue) space, is possible mix values, when all values are 0 the result color is black when all values are 255 the result color is white.
func NewBlack ¶ added in v0.34.0
func NewBlack() Color
NewBlack return a Color with all components (red, green and blue) as 0.
Click to show internal directories.
Click to hide internal directories.