Documentation ¶
Overview ¶
Package color provides structs related to RGB colors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AverageRGB ¶
type AverageRGB struct {
// contains filtered or unexported fields
}
AverageRGB is used to calculate the average of RGBs.
func (AverageRGB) Average ¶
func (argb AverageRGB) Average() RGB
Average returns the average of all added colors.
func (AverageRGB) Count ¶
func (argb AverageRGB) Count() uint
Count returns the number of colors added to the average
Click to show internal directories.
Click to hide internal directories.