photoprism/pkg/colors/luminance.go
Michael Mayer a06ac39639 Add "similar" sorting option as proof-of-concept
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-11 12:14:37 +02:00

9 lines
117 B
Go

package colors
import "fmt"
type Luminance uint8
func (l Luminance) Hex() string {
return fmt.Sprintf("%X", l)
}