colorfinder

package
v0.0.0-...-fe8736c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorToHex

func ColorToHex(c color.RGBA) string

Types

type ColorFinder

type ColorFinder struct {
	// contains filtered or unexported fields
}

func (*ColorFinder) FindMainColor

func (cf *ColorFinder) FindMainColor(img image.Image) (color.RGBA, error)

FindMainColor tries to identify the most important color in the given logo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL