photoprism/pkg/colors/luminance.go

9 lines
117 B
Go

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