photoprism/pkg/colors/luminance.go

10 lines
117 B
Go
Raw Permalink Normal View History

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