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.

    Source Files