Documentation ¶ Index ¶ func Cluster(input colorful.Color) (string, float64) func Find(name string) (string, error) func Match(input colorful.Color) (string, float64) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Cluster ¶ func Cluster(input colorful.Color) (string, float64) Cluster resolves the closest "cluster" or bucket of colors For example, "rose" would map to "red" or "sky blue" would map to "blue" This is useful for generalizing about what basic color a particular hue may be, especially for faceting. func Find ¶ func Find(name string) (string, error) func Match ¶ func Match(input colorful.Color) (string, float64) Match the input against the closest known color Types ¶ This section is empty. Source Files ¶ View all Source files color.go Click to show internal directories. Click to hide internal directories.